summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-23 15:39:26 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-23 15:39:26 +0000
commita574e6214b06fcbdfc00e952e2f3edc06997ee93 (patch)
treeb5df97c93b8caa17819d17f88e173b5b5a28ff31
parentce296a6e04ac824523dbf7bf836f91e14012ab9d (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--ChangeLog7
-rw-r--r--m4/gst-error.m46
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4812e10..2af8ca1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
])