1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

There's no need to use LDAP_CFLAGS, just use CFLAGS

This commit is contained in:
Jelmer Vernooij -
parent e05d78699c
commit 5d2fd222a9

View File

@ -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