1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fix configure detection code when --with-ldap and --enable-thread-safety

are both used.

Backpatch to 8.2.X.

Albe Laurenz
This commit is contained in:
Bruce Momjian
2007-02-03 02:47:35 +00:00
parent 3714d82f76
commit 554d3a683c
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -17266,7 +17266,7 @@ if test "${ac_cv_lib_ldap_r_ldap_simple_bind+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lldap_r $PTHREAD_LIBS $EXTRA_LDAP_LIBS $LIBS"
LIBS="-lldap_r $PTHREAD_CFLAGS $PTHREAD_LIBS $EXTRA_LDAP_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF