Fixed: configure options LIBS and CFLAGS do not work

This commit is contained in:
Tatsuhiro Tsujikawa 2012-03-01 23:39:55 +09:00
parent 7bea01d0ce
commit aded9420af
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ AM_CONDITIONAL([HAVE_STDCXX_11],
# zlib # zlib
PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.3]) PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.3])
LIBS=$ZLIB_LIBS $LIBS LIBS="$ZLIB_LIBS $LIBS"
CFLAGS=$CFLAGS $ZLIB_CFLAGS CFLAGS="$CFLAGS $ZLIB_CFLAGS"
# cunit # cunit
PKG_CHECK_MODULES([CUNIT], [cunit >= 2.1], [have_cunit=yes], [have_cunit=no]) PKG_CHECK_MODULES([CUNIT], [cunit >= 2.1], [have_cunit=yes], [have_cunit=no])