From c2905815e6e8d33f21f7cbb85c90de75981e9900 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 22 Mar 2010 09:50:06 -0400 Subject: [PATCH] Fix installation of sudoers.ldap in "make install" when --with-ldap was specified without a directory. From Prof. Dr. Andreas Mueller --HG-- branch : 1.7 --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 2077d3682..e0cb82c81 100755 --- a/configure +++ b/configure @@ -24671,9 +24671,9 @@ if test ${with_ldap-'no'} != "no"; then CPPFLAGS="${CPPFLAGS} -I${with_ldap}/include" with_ldap=yes - LDAP="" fi SUDO_OBJS="${SUDO_OBJS} ldap.o" + LDAP="" { echo "$as_me:$LINENO: checking for LDAP libraries" >&5 echo $ECHO_N "checking for LDAP libraries... $ECHO_C" >&6; } diff --git a/configure.in b/configure.in index 765240ab4..dd59d6f5e 100644 --- a/configure.in +++ b/configure.in @@ -2494,9 +2494,9 @@ if test ${with_ldap-'no'} != "no"; then SUDO_APPEND_LIBPATH(LDFLAGS, [${with_ldap}/lib]) CPPFLAGS="${CPPFLAGS} -I${with_ldap}/include" with_ldap=yes - LDAP="" fi SUDO_OBJS="${SUDO_OBJS} ldap.o" + LDAP="" AC_MSG_CHECKING([for LDAP libraries]) LDAP_LIBS=""