From: Eric Bollengier Date: Mon, 29 Nov 2021 16:10:02 +0000 (+0100) Subject: Add tzset check in ./configure X-Git-Tag: Beta-15.0.0~740 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a665262073bc7dc3feeabd8d0a49351e32823562;p=thirdparty%2Fbacula.git Add tzset check in ./configure --- diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 8ccfe1baa..75634d31e 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -1042,6 +1042,9 @@ /* Define to 1 if you have the `tcgetattr' function. */ #undef HAVE_TCGETATTR +/* Define to 1 if you have the `tzset' function. */ +#undef HAVE_TZSET + /* Define to 1 if you have the header file. */ #undef HAVE_TERMCAP_H diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 66acf6b5e..e47c71ae6 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -835,7 +835,9 @@ MAKE_SHELL=/bin/sh AC_SUBST(MAKE_SHELL) AC_HEADER_STAT AC_HEADER_DIRENT -AC_CHECK_FUNCS(strcasecmp select setenv putenv tcgetattr) +AC_CHECK_HEADERS(sys/fsuid.h) +AC_CHECK_FUNCS(setfsgid setfsuid) +AC_CHECK_FUNCS(strcasecmp select setenv putenv tcgetattr tzset) AC_CHECK_FUNCS(lstat lchown lchmod futimes fchmod fchown lutimes) AC_CHECK_FUNCS(nanosleep nl_langinfo) AC_CHECK_FUNCS(be64toh htobe64)