From: Kern Sibbald Date: Mon, 4 Dec 2017 17:25:50 +0000 (+0100) Subject: Recompile configure.in X-Git-Tag: Release-9.2.0~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1fe808afc9d203aa45ba2f0dfa8db6f1108d523;p=thirdparty%2Fbacula.git Recompile configure.in --- diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index e6ecc6cad7..b10962811e 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -430,9 +430,6 @@ /* Define to 1 if you have the `fdatasync' function. */ #undef HAVE_FDATASYNC -/* Define to 1 if you have the `realpath' function. */ -#undef HAVE_REALPATH - /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK @@ -502,6 +499,9 @@ /* Define to 1 if you have the 'getproplist' function. */ #undef HAVE_GETPROPLIST +/* Define to 1 if you have the `getrlimit' function. */ +#undef HAVE_GETRLIMIT + /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT @@ -743,6 +743,9 @@ /* Set to enable readline support */ #undef HAVE_READLINE +/* Define to 1 if you have the `realpath' function. */ +#undef HAVE_REALPATH + /* Define to 1 if you have the header file. */ #undef HAVE_REGEX_H diff --git a/bacula/configure b/bacula/configure index 2ac4ab3992..0ed31eb02f 100755 --- a/bacula/configure +++ b/bacula/configure @@ -28635,6 +28635,28 @@ _ACEOF fi done +for ac_func in realpath +do : + ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath" +if test "x$ac_cv_func_realpath" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_REALPATH 1 +_ACEOF + +fi +done + +for ac_func in getrlimit +do : + ac_fn_c_check_func "$LINENO" "getrlimit" "ac_cv_func_getrlimit" +if test "x$ac_cv_func_getrlimit" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_GETRLIMIT 1 +_ACEOF + +fi +done + for ac_func in chflags do :