if test "$with_ldap" = yes ; then
if test "$PORTNAME" != "win32"; then
- for ac_header in ldap.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
+ ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
if test "x$ac_cv_header_ldap_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LDAP_H 1
-_ACEOF
else
as_fn_error $? "header file <ldap.h> is required for LDAP" "$LINENO" 5
fi
-done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible LDAP implementation" >&5
$as_echo_n "checking for compatible LDAP implementation... " >&6; }
*** also uses LDAP will crash on exit." >&2;}
fi
else
- for ac_header in winldap.h
-do :
- ac_fn_c_check_header_compile "$LINENO" "winldap.h" "ac_cv_header_winldap_h" "$ac_includes_default
+ ac_fn_c_check_header_compile "$LINENO" "winldap.h" "ac_cv_header_winldap_h" "$ac_includes_default
#include <windows.h>
"
if test "x$ac_cv_header_winldap_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_WINLDAP_H 1
-_ACEOF
else
as_fn_error $? "header file <winldap.h> is required for LDAP" "$LINENO" 5
fi
-done
fi
fi
if test "$with_ldap" = yes ; then
if test "$PORTNAME" != "win32"; then
- AC_CHECK_HEADERS(ldap.h, [],
- [AC_MSG_ERROR([header file <ldap.h> is required for LDAP])])
+ AC_CHECK_HEADER(ldap.h, [],
+ [AC_MSG_ERROR([header file <ldap.h> is required for LDAP])])
PGAC_LDAP_SAFE
else
- AC_CHECK_HEADERS(winldap.h, [],
- [AC_MSG_ERROR([header file <winldap.h> is required for LDAP])],
- [AC_INCLUDES_DEFAULT
+ AC_CHECK_HEADER(winldap.h, [],
+ [AC_MSG_ERROR([header file <winldap.h> is required for LDAP])],
+ [AC_INCLUDES_DEFAULT
#include <windows.h>
- ])
+ ])
fi
fi
/* Define to 1 if you have the <langinfo.h> header file. */
#undef HAVE_LANGINFO_H
-/* Define to 1 if you have the <ldap.h> header file. */
-#undef HAVE_LDAP_H
-
/* Define to 1 if you have the `ldap_initialize' function. */
#undef HAVE_LDAP_INITIALIZE
/* Define to 1 if you have the `wcstombs_l' function. */
#undef HAVE_WCSTOMBS_L
-/* Define to 1 if you have the <winldap.h> header file. */
-#undef HAVE_WINLDAP_H
-
/* Define to 1 if you have the `X509_get_signature_nid' function. */
#undef HAVE_X509_GET_SIGNATURE_NID
HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P => undef,
HAVE_KQUEUE => undef,
HAVE_LANGINFO_H => undef,
- HAVE_LDAP_H => undef,
HAVE_LDAP_INITIALIZE => undef,
HAVE_LIBCRYPTO => undef,
HAVE_LIBLDAP => undef,
HAVE_UUID_OSSP => undef,
HAVE_UUID_H => undef,
HAVE_UUID_UUID_H => undef,
- HAVE_WINLDAP_H => undef,
HAVE_WCSTOMBS_L => 1,
HAVE_VISIBILITY_ATTRIBUTE => undef,
HAVE_X509_GET_SIGNATURE_NID => 1,