diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2013-12-07 19:15:22 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2013-12-07 22:41:53 +0000 |
commit | e73bf974d9a86aa10a741e530e4447992386d0ab (patch) | |
tree | 149e8ca942a216d5f2ede36161c4696f5f340df1 /m4 | |
parent | dbedaa010e2a19af2b27451c7c64111ea2f8dad2 (diff) |
gst-error.m4: fix build breakage in configure when cross-compiling to windows
When checking ERROR_CXXFLAGS and ERROR_OBJCFLAGS, make sure the
comma isn't interpreted as introducing the next argument to
AS_{CXX,OBJC}_COMPILER_FLAG.
Based on patch by Kyle Schwarz <zeranoe@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=720020
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gst-error.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/gst-error.m4 b/m4/gst-error.m4 index e12a04c..bce80d2 100644 --- a/m4/gst-error.m4 +++ b/m4/gst-error.m4 @@ -169,7 +169,7 @@ AC_DEFUN([AG_GST_SET_ERROR_CXXFLAGS], 'no%E_MACRO_REDEFINED' \ 'no%E_LOOP_NOT_ENTERED_AT_TOP' do - AS_CXX_COMPILER_FLAG([-errwarn=%all,$f], ERROR_CXXFLAGS="$ERROR_CXXFLAGS,$f") + AS_CXX_COMPILER_FLAG([-errwarn=%all,$f], [ERROR_CXXFLAGS="$ERROR_CXXFLAGS,$f"]) done fi fi @@ -254,7 +254,7 @@ AC_DEFUN([AG_GST_SET_ERROR_OBJCFLAGS], 'no%E_MACRO_REDEFINED' \ 'no%E_LOOP_NOT_ENTERED_AT_TOP' do - AS_OBJC_COMPILER_FLAG([-errwarn=%all,$f], ERROR_OBJCFLAGS="$ERROR_OBJCFLAGS,$f") + AS_OBJC_COMPILER_FLAG([-errwarn=%all,$f], [ERROR_OBJCFLAGS="$ERROR_OBJCFLAGS,$f"]) done fi fi |