Added
Link Here
|
1 |
Index: apr-util-1.3.2/build/apu-conf.m4 |
2 |
=================================================================== |
3 |
--- apr-util-1.3.2/build/apu-conf.m4 (revision 674869) |
4 |
+++ apr-util-1.3.2/build/apu-conf.m4 (working copy) |
5 |
@@ -357,6 +357,11 @@ |
6 |
]) |
7 |
|
8 |
if test "$apu_has_ldap_openldap" = "1"; then |
9 |
+ CPPFLAGS=$save_cppflags |
10 |
+ LDFLAGS=$save_ldflags |
11 |
+ LIBS=$save_libs |
12 |
+ |
13 |
+ CPPFLAGS="$CPPFLAGS $APRUTIL_INCLUDES" |
14 |
AC_CACHE_CHECK([style of ldap_set_rebind_proc routine], ac_cv_ldap_set_rebind_proc_style, |
15 |
APR_TRY_COMPILE_NO_WARNING([ |
16 |
#ifdef HAVE_LBER_H |
17 |
@@ -374,6 +379,10 @@ |
18 |
if test "$ac_cv_ldap_set_rebind_proc_style" = "three"; then |
19 |
AC_DEFINE(LDAP_SET_REBIND_PROC_THREE, 1, [Define if ldap_set_rebind_proc takes three arguments]) |
20 |
fi |
21 |
+ |
22 |
+ CPPFLAGS=$save_cppflags |
23 |
+ LDFLAGS=$save_ldflags |
24 |
+ LIBS=$save_libs |
25 |
fi |
26 |
|
27 |
AC_SUBST(ldap_h) |