Commit 39eb471f authored by Josh Coalson's avatar Josh Coalson
Browse files

set CXXFLAGS also during test

parent 77e21631
...@@ -40,8 +40,10 @@ AC_ARG_ENABLE(libFLACPPtest, [ --disable-libFLACPPtest Do not try to comp ...@@ -40,8 +40,10 @@ AC_ARG_ENABLE(libFLACPPtest, [ --disable-libFLACPPtest Do not try to comp
if test "x$enable_libFLACPPtest" = "xyes" ; then if test "x$enable_libFLACPPtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
ac_save_CXXFLAGS="$CXXFLAGS"
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBFLACPP_CFLAGS" CFLAGS="$CFLAGS $LIBFLACPP_CFLAGS"
CXXFLAGS="$CXXFLAGS $LIBFLACPP_CFLAGS"
LIBS="$LIBS $LIBFLACPP_LIBS" LIBS="$LIBS $LIBFLACPP_LIBS"
dnl dnl
dnl Now check if the installed libFLAC++ is sufficiently new. 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 ...@@ -37,8 +37,10 @@ AC_ARG_ENABLE(libFLACtest, [ --disable-libFLACtest Do not try to compile
if test "x$enable_libFLACtest" = "xyes" ; then if test "x$enable_libFLACtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
ac_save_CXXFLAGS="$CXXFLAGS"
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBFLAC_CFLAGS" CFLAGS="$CFLAGS $LIBFLAC_CFLAGS"
CXXFLAGS="$CXXFLAGS $LIBFLAC_CFLAGS"
LIBS="$LIBS $LIBFLAC_LIBS" LIBS="$LIBS $LIBFLAC_LIBS"
dnl dnl
dnl Now check if the installed libFLAC is sufficiently new. dnl Now check if the installed libFLAC is sufficiently new.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment