summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-11 11:17:12 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-11 11:17:12 +0100
commite272f713a24bd0a13d57906cac8c256b6f9439cf (patch)
tree34a026fb6545583f5c1f4599135cd5d6d92c8876
parentdf8a7c864f23a3cacbb36f00b9c680426601a255 (diff)
Make sure MORE_FLAGS are evaluated one by one
Previously the argument was just evaluated as a single string. I still don't get shell and m4 (un)escaping rules...
-rw-r--r--m4/gst-error.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/gst-error.m4 b/m4/gst-error.m4
index 668085d..6df7312 100644
--- a/m4/gst-error.m4
+++ b/m4/gst-error.m4
@@ -90,7 +90,8 @@ AC_DEFUN([AG_GST_SET_ERROR_CFLAGS],
if test "x$2" != "x"
then
UNSUPPORTED=""
- for each in "$2"
+ list="$2"
+ for each in $list
do
AS_COMPILER_FLAG($each,
WARNING_CFLAGS="$WARNING_CFLAGS $each",
@@ -177,7 +178,8 @@ AC_DEFUN([AG_GST_SET_ERROR_CXXFLAGS],
if test "x$2" != "x"
then
UNSUPPORTED=""
- for each in "$2"
+ list="$2"
+ for each in $list
do
AS_CXX_COMPILER_FLAG($each,
WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each",