Fix struct passwd detection

This commit is contained in:
Kurt Zeilenga 2005-08-12 23:37:33 +00:00
parent 5b5417a476
commit e5a5f90b16
2 changed files with 10 additions and 8 deletions

12
configure vendored
View File

@ -47891,7 +47891,8 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default #include <pwd.h>
int int
main () main ()
{ {
@ -47935,7 +47936,8 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default #include <pwd.h>
int int
main () main ()
{ {
@ -48001,7 +48003,8 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default #include <pwd.h>
int int
main () main ()
{ {
@ -48045,7 +48048,8 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default #include <pwd.h>
int int
main () main ()
{ {

View File

@ -2416,8 +2416,8 @@ OL_TYPE_SIG_ATOMIC_T
AC_HEADER_TIME AC_HEADER_TIME
AC_STRUCT_TM AC_STRUCT_TM
AC_CHECK_MEMBERS([struct stat.st_blksize]) AC_CHECK_MEMBERS([struct stat.st_blksize])
AC_CHECK_MEMBERS([struct passwd.pw_gecos]) AC_CHECK_MEMBERS([struct passwd.pw_gecos],,,[#include <pwd.h>])
AC_CHECK_MEMBERS([struct passwd.pw_passwd]) AC_CHECK_MEMBERS([struct passwd.pw_passwd],,,[#include <pwd.h>])
OL_C_UPPER_LOWER OL_C_UPPER_LOWER
AC_C_CONST AC_C_CONST
@ -2456,9 +2456,7 @@ if test $ac_cv_func_memcmp_working = no ; then
[define if memcmp is not 8-bit clean or is otherwise broken]) [define if memcmp is not 8-bit clean or is otherwise broken])
fi fi
dnl AC_FUNC_MKTIME([]) dnl checks for sys/time.h and unistd.h
AC_FUNC_STRFTIME AC_FUNC_STRFTIME
dnl AC_FUNC_STRTOD([])
OL_FUNC_INET_ATON OL_FUNC_INET_ATON