summaryrefslogtreecommitdiffstats
path: root/source/lib/popt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-13 19:57:09 +0000
committerJelmer Vernooij <jelmer@samba.org>2006-05-13 19:57:09 +0000
commit37af80dff1c33d9d7bdd1973d7b937136835cf99 (patch)
treef787c321e0b11639f7621f8d428e32aadd88779f /source/lib/popt
parent4b227cd8cdd4776e75cfb4ce4747fa7246b9dfb1 (diff)
downloadsamba-37af80dff1c33d9d7bdd1973d7b937136835cf99.tar.gz
samba-37af80dff1c33d9d7bdd1973d7b937136835cf99.tar.xz
samba-37af80dff1c33d9d7bdd1973d7b937136835cf99.zip
r15577: Make popt CFLAGS popt-specific rather then global
Diffstat (limited to 'source/lib/popt')
-rw-r--r--source/lib/popt/config.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/source/lib/popt/config.m4 b/source/lib/popt/config.m4
index d48cbe1dff4..af9cb27851b 100644
--- a/source/lib/popt/config.m4
+++ b/source/lib/popt/config.m4
@@ -25,9 +25,8 @@ fi
AC_MSG_CHECKING(whether to use included popt)
if test x"$INCLUDED_POPT" != x"no"; then
- CPPFLAGS="$CPPFLAGS -I$srcdir/lib/popt"
SMB_SUBSYSTEM(LIBPOPT,
- [lib/popt/findme.o lib/popt/popt.o lib/popt/poptconfig.o lib/popt/popthelp.o lib/popt/poptparse.o], [])
+ [lib/popt/findme.o lib/popt/popt.o lib/popt/poptconfig.o lib/popt/popthelp.o lib/popt/poptparse.o], [], [-I$srcdir/lib/popt])
AC_MSG_RESULT(yes)
else