summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-02 18:49:36 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-02 18:49:36 +0000
commit48dff2870c48ee61c77b04c6aa83cf1bd80eb0ce (patch)
treea415f2250c3769321b206fa6058c621c7d88e835
parent0ae1b49b21204e05eb265f30a52e1c15d03bdcb7 (diff)
downloadsamba-48dff2870c48ee61c77b04c6aa83cf1bd80eb0ce.tar.gz
samba-48dff2870c48ee61c77b04c6aa83cf1bd80eb0ce.tar.bz2
samba-48dff2870c48ee61c77b04c6aa83cf1bd80eb0ce.zip
There's no need to use LDAP_CFLAGS, just use CFLAGS
(This used to be commit 5d2fd222a9e4cccd232e492d1aea1dc7a64a1400)
-rw-r--r--source3/configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 9ca12866a2..5d880caef3 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2260,8 +2260,8 @@ AC_ARG_WITH(ldap,
AC_MSG_RESULT($with_ldap_support)
if test x"$with_ldap_support" = x"yes"; then
-ac_save_CFLAGS="$CFLAGS"; ac_save_LIBS="$LIBS"
-CFLAGS=""; LIBS=""
+ac_save_LIBS="$LIBS"
+LIBS=""
##################################################################
# we might need the lber lib on some systems. To avoid link errors
@@ -2286,8 +2286,8 @@ CFLAGS=""; LIBS=""
AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
fi
-LDAP_LIBS="$LIBS";LDAP_CFLAGS="$CFLAGS"
-LIBS="$ac_save_LIBS"; CFLAGS="$ac_save_CFLAGS"
+LDAP_LIBS="$LIBS";
+LIBS="$ac_save_LIBS";
fi
if test x"$with_ads_support" = x"yes"; then