From edb0f83dbf35338788a26e26ef9f17f42b51d6fc Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Tue, 12 Mar 2013 17:15:57 +0100 Subject: [PATCH] Fix sanitization of FLAC_CFLAGS. --- ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9bd76a7..8e59ddf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-03-12 Antoine Jacoutot + + * configure.ac: + Fix sanitization of FLAC_CFLAGS. + 2013-03-10 Pino Toscano * test/TestUtilities.cpp, diff --git a/configure.ac b/configure.ac index 5ccfd29..5ed959d 100644 --- a/configure.ac +++ b/configure.ac @@ -135,7 +135,7 @@ FLAC_LIBS="" if test -n "$PKG_CONFIG" ; then if test "$enable_flac" = "yes" ; then PKG_CHECK_MODULES([FLAC], [flac >= 1.2.1], [ac_cv_flac=yes], [ac_cv_flac=no]) - FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s/FLAC$//"` + FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s:include/FLAC:include:"` if test "$ac_cv_flac" = "no" ; then enable_flac=no fi