mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Fix struct passwd detection
This commit is contained in:
parent
5b5417a476
commit
e5a5f90b16
12
configure
vendored
12
configure
vendored
@ -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 ()
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user