File tree Expand file tree Collapse file tree 4 files changed +8
-28
lines changed
Expand file tree Collapse file tree 4 files changed +8
-28
lines changed Original file line number Diff line number Diff line change @@ -14197,19 +14197,13 @@ fi
1419714197
1419814198if test "$with_ldap" = yes ; then
1419914199 if test "$PORTNAME" != "win32"; then
14200- for ac_header in ldap.h
14201- do :
14202- ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
14200+ ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
1420314201if test "x$ac_cv_header_ldap_h" = xyes; then :
14204- cat >>confdefs.h <<_ACEOF
14205- #define HAVE_LDAP_H 1
14206- _ACEOF
1420714202
1420814203else
1420914204 as_fn_error $? "header file <ldap.h> is required for LDAP" "$LINENO" 5
1421014205fi
1421114206
14212- done
1421314207
1421414208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible LDAP implementation" >&5
1421514209$as_echo_n "checking for compatible LDAP implementation... " >&6; }
@@ -14253,22 +14247,16 @@ $as_echo "$as_me: WARNING:
1425314247*** also uses LDAP will crash on exit." >&2;}
1425414248fi
1425514249 else
14256- for ac_header in winldap.h
14257- do :
14258- ac_fn_c_check_header_compile "$LINENO" "winldap.h" "ac_cv_header_winldap_h" "$ac_includes_default
14250+ ac_fn_c_check_header_compile "$LINENO" "winldap.h" "ac_cv_header_winldap_h" "$ac_includes_default
1425914251#include <windows.h>
1426014252
1426114253"
1426214254if test "x$ac_cv_header_winldap_h" = xyes; then :
14263- cat >>confdefs.h <<_ACEOF
14264- #define HAVE_WINLDAP_H 1
14265- _ACEOF
1426614255
1426714256else
1426814257 as_fn_error $? "header file <winldap.h> is required for LDAP" "$LINENO" 5
1426914258fi
1427014259
14271- done
1427214260
1427314261 fi
1427414262fi
Original file line number Diff line number Diff line change @@ -1547,15 +1547,15 @@ fi
15471547
15481548if test "$with_ldap" = yes ; then
15491549 if test "$PORTNAME" != "win32"; then
1550- AC_CHECK_HEADERS ( ldap.h , [ ] ,
1551- [ AC_MSG_ERROR ( [ header file <ldap.h> is required for LDAP] ) ] )
1550+ AC_CHECK_HEADER ( ldap.h , [ ] ,
1551+ [ AC_MSG_ERROR ( [ header file <ldap.h> is required for LDAP] ) ] )
15521552 PGAC_LDAP_SAFE
15531553 else
1554- AC_CHECK_HEADERS ( winldap.h , [ ] ,
1555- [ AC_MSG_ERROR ( [ header file <winldap.h> is required for LDAP] ) ] ,
1556- [ AC_INCLUDES_DEFAULT
1554+ AC_CHECK_HEADER ( winldap.h , [ ] ,
1555+ [ AC_MSG_ERROR ( [ header file <winldap.h> is required for LDAP] ) ] ,
1556+ [ AC_INCLUDES_DEFAULT
15571557#include <windows.h>
1558- ] )
1558+ ] )
15591559 fi
15601560fi
15611561
Original file line number Diff line number Diff line change 253253/* Define to 1 if you have the <langinfo.h> header file. */
254254#undef HAVE_LANGINFO_H
255255
256- /* Define to 1 if you have the <ldap.h> header file. */
257- #undef HAVE_LDAP_H
258-
259256/* Define to 1 if you have the `ldap_initialize' function. */
260257#undef HAVE_LDAP_INITIALIZE
261258
541538/* Define to 1 if you have the `wcstombs_l' function. */
542539#undef HAVE_WCSTOMBS_L
543540
544- /* Define to 1 if you have the <winldap.h> header file. */
545- #undef HAVE_WINLDAP_H
546-
547541/* Define to 1 if you have the `X509_get_signature_nid' function. */
548542#undef HAVE_X509_GET_SIGNATURE_NID
549543
Original file line number Diff line number Diff line change @@ -281,7 +281,6 @@ sub GenerateFiles
281281 HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P => undef ,
282282 HAVE_KQUEUE => undef ,
283283 HAVE_LANGINFO_H => undef ,
284- HAVE_LDAP_H => undef ,
285284 HAVE_LDAP_INITIALIZE => undef ,
286285 HAVE_LIBCRYPTO => undef ,
287286 HAVE_LIBLDAP => undef ,
@@ -374,7 +373,6 @@ sub GenerateFiles
374373 HAVE_UUID_OSSP => undef ,
375374 HAVE_UUID_H => undef ,
376375 HAVE_UUID_UUID_H => undef ,
377- HAVE_WINLDAP_H => undef ,
378376 HAVE_WCSTOMBS_L => 1,
379377 HAVE_VISIBILITY_ATTRIBUTE => undef ,
380378 HAVE_X509_GET_SIGNATURE_NID => 1,
You can’t perform that action at this time.
0 commit comments