Commit a574e621 authored by Jan Schmidt's avatar Jan Schmidt

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.
parent ce296a6e
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:
......
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
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment