set CXXFLAGS also during test
This commit is contained in:
parent
77e2163126
commit
39eb471f98
@ -40,8 +40,10 @@ AC_ARG_ENABLE(libFLACPPtest, [ --disable-libFLACPPtest Do not try to comp
|
||||
|
||||
if test "x$enable_libFLACPPtest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $LIBFLACPP_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $LIBFLACPP_CFLAGS"
|
||||
LIBS="$LIBS $LIBFLACPP_LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed libFLAC++ is sufficiently new.
|
||||
|
@ -37,8 +37,10 @@ AC_ARG_ENABLE(libFLACtest, [ --disable-libFLACtest Do not try to compile
|
||||
|
||||
if test "x$enable_libFLACtest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $LIBFLAC_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $LIBFLAC_CFLAGS"
|
||||
LIBS="$LIBS $LIBFLAC_LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed libFLAC is sufficiently new.
|
||||
|
Loading…
Reference in New Issue
Block a user