summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/configure.in2
-rw-r--r--source3/include/config.h.in4
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/configure b/source3/configure
index 6d7a2ead2c..2b3b3f5989 100755
--- a/source3/configure
+++ b/source3/configure
@@ -3878,7 +3878,7 @@ else
fi
done
-for ac_func in fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwnam
+for ac_func in fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwanam
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3885: checking for $ac_func" >&5
diff --git a/source3/configure.in b/source3/configure.in
index 817cbf663f..015c4bdd75 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -192,7 +192,7 @@ AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction innetgr setnetgrent getne
AC_CHECK_FUNCS(initgroups select rdchk getgrnam pathconf putprpwnam)
AC_CHECK_FUNCS(setuidx setgroups mktime rename ftruncate stat64 fstat64 lstat64 fopen64)
AC_CHECK_FUNCS(set_auth_parameters atexit grantpt getspnam dup2 lseek64 ftruncate64)
-AC_CHECK_FUNCS(fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwnam)
+AC_CHECK_FUNCS(fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwanam)
AC_CHECK_FUNCS(srandom random srand rand setenv mmap64)
# syscall() is needed for smbwrapper.
AC_CHECK_FUNCS(syscall)
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index c030ea53a6..d49a77ccb2 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -442,8 +442,8 @@
/* Define if you have the getprpwnam function. */
#undef HAVE_GETPRPWNAM
-/* Define if you have the getpwnam function. */
-#undef HAVE_GETPWNAM
+/* Define if you have the getpwanam function. */
+#undef HAVE_GETPWANAM
/* Define if you have the getrlimit function. */
#undef HAVE_GETRLIMIT