From 0e4665ab85b36b5c0b52f2827d68926e55559cfa Mon Sep 17 00:00:00 2001 From: esven Date: Fri, 22 Aug 2014 11:22:59 +0200 Subject: [PATCH] Update configure.ac wrong WARNINGS_TO_TEST expansion $WARNINGS_TO_TEST let's configure run "-MD ..." but not expand the variable as expected. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f3694d52b..c70031889 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,7 @@ WARNINGS_TO_TEST="-MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations if test $mingw = "no" ; then # add the warnings we don't want to do on mingw - $WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes -Weffc++" + WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes -Weffc++" fi for option in $WARNINGS_TO_TEST @@ -105,7 +105,7 @@ WARNINGS_TO_TEST="-Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith \ if test $mingw = "no" ; then # add the warnings we don't want to do on mingw - $WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Weffc++" + WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Weffc++" fi for option in $WARNINGS_TO_TEST