From: <tho...@fr...> - 2005-07-08 14:33:48
|
CVS Root: /cvs/gstreamer Module: common Changes by: thomasvs Date: Fri Jul 08 2005 07:33:40 PDT Log message: add macro to set ERROR_CFLAGS Modified files: . : ChangeLog Added files: m4 : gst-error.m4 Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/common/ChangeLog.diff?r1=1.32&r2=1.33 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/common/m4/gst-error.m4?rev=1.1&content-type=text/vnd.viewcvs-markup ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/common/ChangeLog,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- ChangeLog 30 Jun 2005 11:56:37 -0000 1.32 +++ ChangeLog 8 Jul 2005 14:33:27 -0000 1.33 @@ -1,3 +1,8 @@ +2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org> + + * m4/gst-error.m4: + add macro to set ERROR_CFLAGS 2005-06-30 Jan Schmidt <th...@ma...> * gst-autogen.sh: --- NEW FILE: gst-error.m4 --- dnl Decide on error flags dnl Thomas Vander Stichele <th...@ap...> dnl Last modification: 08/07/2005 dnl GST_SET_ERROR_CFLAGS([ADD-WERROR]) dnl Sets ERROR_CFLAGS to something the compiler will accept. dnl AC_SUBST them so they are available in Makefile dnl -Wall is added if it is supported dnl -Werror is added if ADD-WERROR is not "no" dnl These flags can be overridden at make time: dnl make ERROR_CFLAGS= AC_DEFUN([GST_SET_ERROR_CFLAGS], [AC_REQUIRE([AS_COMPILER_FLAG])dnl dnl if we support -Wall, set it unconditionally AS_COMPILER_FLAG(-Wall, ERROR_CFLAGS="-Wall", ERROR_CFLAGS="") dnl if we're in nano >= 1, add -Werror if supported if test "x$1" != "xno" then AS_COMPILER_FLAG(-Werror, ERROR_CFLAGS="$ERROR_CFLAGS -Werror") fi AC_SUBST(ERROR_CFLAGS) AC_MSG_NOTICE([set ERROR_CFLAGS to $ERROR_CFLAGS]) ]) |