From: Wayne Davison Date: Sat, 14 Jun 2014 16:48:56 +0000 (-0700) Subject: Put zlib and popt -I options early in the CFLAGS. X-Git-Tag: v3.1.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ffd8f2169af2ca7b1f654cf469d21ae201f1143;p=thirdparty%2Frsync.git Put zlib and popt -I options early in the CFLAGS. --- diff --git a/configure.ac b/configure.ac index 4f41f8d7..588f551a 100644 --- a/configure.ac +++ b/configure.ac @@ -765,7 +765,7 @@ AC_MSG_CHECKING([whether to use included libpopt]) if test x"$with_included_popt" = x"yes"; then AC_MSG_RESULT($srcdir/popt) BUILD_POPT='$(popt_OBJS)' - CFLAGS="$CFLAGS -I$srcdir/popt" + CFLAGS="-I$srcdir/popt $CFLAGS" if test x"$ALLOCA" != x then # this can be removed when/if we add an included alloca.c; @@ -790,7 +790,7 @@ AC_MSG_CHECKING([whether to use included zlib]) if test x"$with_included_zlib" = x"yes"; then AC_MSG_RESULT($srcdir/zlib) BUILD_ZLIB='$(zlib_OBJS)' - CFLAGS="$CFLAGS -I$srcdir/zlib" + CFLAGS="-I$srcdir/zlib $CFLAGS" else AC_DEFINE(EXTERNAL_ZLIB, 1, [Define to 1 if using external zlib]) AC_MSG_RESULT(no)