From: Dan Winship Date: Wed, 31 Oct 2001 23:09:27 +0000 (+0000) Subject: Fix the popt check so you can pass CPPFLAGS and LDFLAGS in in the X-Git-Tag: SOUP_0_6_0~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74fc1e608dddd5f31a15b848e1649aa0c368dc86;p=platform%2Fupstream%2Flibsoup.git Fix the popt check so you can pass CPPFLAGS and LDFLAGS in in the * configure.in: Fix the popt check so you can pass CPPFLAGS and LDFLAGS in in the environment. --- diff --git a/ChangeLog b/ChangeLog index 54013ef..27348e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-31 Dan Winship + + * configure.in: Fix the popt check so you can pass CPPFLAGS and + LDFLAGS in in the environment. + 2001-10-30 Alex Graveley * src/libsoup/soup-auth.c (soup_auth_set_context): Remove the diff --git a/configure.in b/configure.in index ed92c77..9d59f37 100644 --- a/configure.in +++ b/configure.in @@ -140,23 +140,15 @@ dnl *********************** dnl *** Checks for popt *** dnl *********************** -save_CPPFLAGS=$CPPFLAGS -save_LIBS=$LIBS -CPPFLAGS= -LIBS= - AC_CHECK_LIB(popt, poptGetContext,, AC_MSG_ERROR([popt is required])) AC_CHECK_HEADERS(popt.h,, AC_MSG_ERROR([popt.h is required])) -POPT_CFLAGS=$CPPFLAGS -POPT_LIBS=$LIBS +POPT_CFLAGS="$CPPFLAGS" +POPT_LIBS="$LIBS" AC_SUBST(POPT_CFLAGS) AC_SUBST(POPT_LIBS) -CPPFLAGS=$save_CPPFLAGS -LIBS=$save_LIBS - dnl ********************************************** dnl *** Variable substitution for soup*Conf.sh ***