Fix "./configure --enable-coverage" when building qphotorec

This commit is contained in:
Christophe Grenier 2014-03-16 09:49:28 +01:00
parent 571296eae6
commit c22222005e

View file

@ -4,7 +4,7 @@
AC_PREREQ([2.59])
AC_INIT([testdisk],[7.0-WIP],[grenier@cgsecurity.org])
sinclude(acx_pthread.m4)
TESTDISKDATE="January 2014"
TESTDISKDATE="March 2014"
AC_SUBST(TESTDISKDATE)
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
AC_CONFIG_AUX_DIR(config)
@ -830,6 +830,8 @@ CFLAGS="$SAVE_CFLAGS"
photorecf_LDADD=$photorec_LDADD
CFLAGS="$CFLAGS $coverage_flags"
CXXFLAGS="$CXXFLAGS $coverage_flags"
CPPFLAGS="$CPPFLAGS $coverage_flags"
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)