summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-01-15 01:43:27 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2004-01-15 01:43:27 (GMT)
commite454cafd575e13fbb80818737b9c63f73628e62a (patch)
tree8c184c1f667f4a83b2e4b6d9de241e34d41b0100
parent494fead3a40e17509209f14b053d7b63530d5518 (diff)
downloadautofs3-e454cafd575e13fbb80818737b9c63f73628e62a.zip
autofs3-e454cafd575e13fbb80818737b9c63f73628e62a.tar.gz
autofs3-e454cafd575e13fbb80818737b9c63f73628e62a.tar.bz2
autofs3-e454cafd575e13fbb80818737b9c63f73628e62a.tar.xz
Don't confuse LDAP too badly...
-rw-r--r--configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 4e8cf97..2222e56 100644
--- a/configure.in
+++ b/configure.in
@@ -106,9 +106,11 @@ AC_ARG_WITH(openldap,
: Search for LDAP in normal directory path
else
: Search for LDAP in specific directory
- LDFLAGS="$LDFLAGS -L${withval}/lib"
- LIBLDAP="-L${withval}/lib"
- LDAP_FLAGS="-I${withval}/include"
+ if test "$withval" != "/usr" ; then
+ LDFLAGS="$LDFLAGS -L${withval}/lib"
+ LIBLDAP="-L${withval}/lib"
+ LDAP_FLAGS="-I${withval}/include"
+ fi
fi
)
if test -z "$HAVE_LDAP"; then