summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-10-13 13:04:20 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-10-13 13:04:20 +0000
commitfff84e239d7dd7f449791e5dfbb3b94608be29d3 (patch)
treef605dc66bfbd533c3b695fe79dcc724d9452fee4 /Makefile.am
parentc62bb441d460975ad8f7e4e05b2230a2f838152f (diff)
pass CPPFLAGS and LDFLAGS to distcheck's configure and put nslcd.conf under prefix
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1786 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f0ad039..2a52417 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,8 +37,10 @@ SUBDIRS += man tests
EXTRA_DIST = nslcd.conf nslcd.h $(wildcard ChangeLog-20??) \
$(wildcard m4/*.m4) HACKING ldapns.schema ldapns.ldif
-DISTCHECK_CONFIGURE_FLAGS = --enable-warnings --with-pam-seclib-dir="\$${libdir}/security" \
- --enable-pynslcd
+DISTCHECK_CONFIGURE_FLAGS = --enable-warnings --enable-pynslcd \
+ --with-pam-seclib-dir="\$${libdir}/security" \
+ --with-ldap-conf-file="\$${prefix}/nslcd.conf" \
+ CPPFLAGS=$(CPPFLAGS) LDFLAGS=$(LDFLAGS)
ACLOCAL_AMFLAGS = -I m4