From a5a980eb3efb37a6becacf043692361bdb4174b0 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 --- source/configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/configure.in') diff --git a/source/configure.in b/source/configure.in index d0c3e8e1fd7..266dffa38bb 100644 --- a/source/configure.in +++ b/source/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