From 388af6585777b529877848b97c2b9c2fa9e35e06 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 2 Apr 2003 15:08:31 +0000 Subject: Only link in popt when we need it (This used to be commit a5a980eb3efb37a6becacf043692361bdb4174b0) --- source3/configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index d0c3e8e1fd..266dffa38b 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3343,12 +3343,15 @@ AC_MSG_CHECKING(whether to use included popt) if test x"$INCLUDED_POPT" = x"yes"; then AC_MSG_RESULT(yes) BUILD_POPT='$(POPT_OBJS)' + POPTLIBS='$(POPT_OBJS)' FLAGS1="-I$srcdir/popt" else AC_MSG_RESULT(no) - BUILD_POPT="-lpopt" + BUILD_POPT="" + POPTLIBS="-lpopt" fi AC_SUBST(BUILD_POPT) +AC_SUBST(POPTLIBS) AC_SUBST(FLAGS1) ################################################# -- cgit