File tree 4 files changed +8
-28
lines changed
4 files changed +8
-28
lines changed Original file line number Diff line number Diff line change @@ -14197,19 +14197,13 @@ fi
14197
14197
14198
14198
if test "$with_ldap" = yes ; then
14199
14199
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"
14203
14201
if test "x$ac_cv_header_ldap_h" = xyes; then :
14204
- cat >>confdefs.h <<_ACEOF
14205
- #define HAVE_LDAP_H 1
14206
- _ACEOF
14207
14202
14208
14203
else
14209
14204
as_fn_error $? "header file <ldap.h> is required for LDAP" "$LINENO" 5
14210
14205
fi
14211
14206
14212
- done
14213
14207
14214
14208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible LDAP implementation" >&5
14215
14209
$as_echo_n "checking for compatible LDAP implementation... " >&6; }
@@ -14253,22 +14247,16 @@ $as_echo "$as_me: WARNING:
14253
14247
*** also uses LDAP will crash on exit." >&2;}
14254
14248
fi
14255
14249
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
14259
14251
#include <windows.h>
14260
14252
14261
14253
"
14262
14254
if test "x$ac_cv_header_winldap_h" = xyes; then :
14263
- cat >>confdefs.h <<_ACEOF
14264
- #define HAVE_WINLDAP_H 1
14265
- _ACEOF
14266
14255
14267
14256
else
14268
14257
as_fn_error $? "header file <winldap.h> is required for LDAP" "$LINENO" 5
14269
14258
fi
14270
14259
14271
- done
14272
14260
14273
14261
fi
14274
14262
fi
Original file line number Diff line number Diff line change @@ -1547,15 +1547,15 @@ fi
1547
1547
1548
1548
if test "$with_ldap" = yes ; then
1549
1549
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] ) ] )
1552
1552
PGAC_LDAP_SAFE
1553
1553
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
1557
1557
#include <windows.h>
1558
- ] )
1558
+ ] )
1559
1559
fi
1560
1560
fi
1561
1561
Original file line number Diff line number Diff line change 253
253
/* Define to 1 if you have the <langinfo.h> header file. */
254
254
#undef HAVE_LANGINFO_H
255
255
256
- /* Define to 1 if you have the <ldap.h> header file. */
257
- #undef HAVE_LDAP_H
258
-
259
256
/* Define to 1 if you have the `ldap_initialize' function. */
260
257
#undef HAVE_LDAP_INITIALIZE
261
258
541
538
/* Define to 1 if you have the `wcstombs_l' function. */
542
539
#undef HAVE_WCSTOMBS_L
543
540
544
- /* Define to 1 if you have the <winldap.h> header file. */
545
- #undef HAVE_WINLDAP_H
546
-
547
541
/* Define to 1 if you have the `X509_get_signature_nid' function. */
548
542
#undef HAVE_X509_GET_SIGNATURE_NID
549
543
Original file line number Diff line number Diff line change @@ -281,7 +281,6 @@ sub GenerateFiles
281
281
HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P => undef ,
282
282
HAVE_KQUEUE => undef ,
283
283
HAVE_LANGINFO_H => undef ,
284
- HAVE_LDAP_H => undef ,
285
284
HAVE_LDAP_INITIALIZE => undef ,
286
285
HAVE_LIBCRYPTO => undef ,
287
286
HAVE_LIBLDAP => undef ,
@@ -374,7 +373,6 @@ sub GenerateFiles
374
373
HAVE_UUID_OSSP => undef ,
375
374
HAVE_UUID_H => undef ,
376
375
HAVE_UUID_UUID_H => undef ,
377
- HAVE_WINLDAP_H => undef ,
378
376
HAVE_WCSTOMBS_L => 1,
379
377
HAVE_VISIBILITY_ATTRIBUTE => undef ,
380
378
HAVE_X509_GET_SIGNATURE_NID => 1,
You can’t perform that action at this time.
0 commit comments