From 040f55ad932b1cda6affadd82f8680ec36d0a80c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 7 Feb 2022 17:11:34 +0100 Subject: [PATCH] Add check for getpwent_r in ./configure --- bacula/autoconf/config.h.in | 3 +++ bacula/autoconf/configure.in | 1 + 2 files changed, 4 insertions(+) diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 050303ec5..a2b0d2dc4 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -540,6 +540,9 @@ /* Define to 1 if you have the `getrlimit' function. */ #undef HAVE_GETRLIMIT +/* Define to 1 if you have the `getpwent_r' function */ +#undef HAVE_GETPWENT_R + /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index b57462267..48276f4b9 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -2433,6 +2433,7 @@ AC_CHECK_FUNCS(posix_fallocate) AC_CHECK_FUNCS(fdatasync) AC_CHECK_FUNCS(realpath) AC_CHECK_FUNCS(getrlimit) +AC_CHECK_FUNCS(getpwent_r) AC_CHECK_FUNCS(chflags) -- 2.47.3