summaryrefslogtreecommitdiff
path: root/source4/lib/popt/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/popt/config.m4')
-rw-r--r--source4/lib/popt/config.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/popt/config.m4 b/source4/lib/popt/config.m4
index d48cbe1dff..af9cb27851 100644
--- a/source4/lib/popt/config.m4
+++ b/source4/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