set CXXFLAGS also during test

This commit is contained in:
Josh Coalson
2002-07-01 20:37:39 +00:00
parent 77e2163126
commit 39eb471f98
2 changed files with 4 additions and 0 deletions

View File

@@ -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.