diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-02-23 15:39:26 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-02-23 15:39:26 +0000 |
commit | a574e6214b06fcbdfc00e952e2f3edc06997ee93 (patch) | |
tree | b5df97c93b8caa17819d17f88e173b5b5a28ff31 | |
parent | ce296a6e04ac824523dbf7bf836f91e14012ab9d (diff) |
m4/gst-error.m4: Store the detected compiler flags into ERROR_CFLAGS rather than
Original commit message from CVS:
* m4/gst-error.m4:
Store the detected compiler flags into ERROR_CFLAGS rather than
ERROR_CXXFLAGS, and use the macro that checks the C compiler, not
the C++ one.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/gst-error.m4 | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2008-02-23 Jan Schmidt <Jan.Schmidt@sun.com> + + * m4/gst-error.m4: + Store the detected compiler flags into ERROR_CFLAGS rather than + ERROR_CXXFLAGS, and use the macro that checks the C compiler, not + the C++ one. + 2008-02-23 Tim-Philipp Müller <tim at centricular dot net> * m4/gst-error.m4: diff --git a/m4/gst-error.m4 b/m4/gst-error.m4 index 24b931b..f97f9a6 100644 --- a/m4/gst-error.m4 +++ b/m4/gst-error.m4 @@ -1,4 +1,4 @@ -dnl handle various error-related things +Dnl handle various error-related things dnl Thomas Vander Stichele <thomas@apestaart.org> dnl Tim-Philipp Müller <tim centricular net> @@ -51,8 +51,8 @@ AC_DEFUN([AG_GST_SET_ERROR_CFLAGS], 'no%E_ARGUEMENT_MISMATCH' \ 'no%E_MACRO_REDEFINED' do - AS_CXX_COMPILER_FLAG([-errwarn=%all,$f], [ - ERROR_CXXFLAGS="$ERROR_CXXFLAGS,$f" + AS_COMPILER_FLAG([-errwarn=%all,$f], [ + ERROR_CFLAGS="$ERROR_CFLAGS,$f" ]) done ]) |