configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4....

Original commit message from CVS:
* configure.ac:
Check if the compiler supports do { } while (0) macros. This fixes
a warning when compiling with g++ 4.3, resulting in a build failure
because of -Werror.
This commit is contained in:
Sebastian Dröge 2008-03-21 14:15:27 +00:00
parent f403a0a8ad
commit 666d19fe1a
3 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac:
Check if the compiler supports do { } while (0) macros. This fixes
a warning when compiling with g++ 4.3, resulting in a build failure
because of -Werror.
2008-03-19 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/realmedia/asmrules.c: (gst_asm_scan_string), (main):

2
common

@ -1 +1 @@
Subproject commit 170f8e91adc7157f6e708ffa58ca22d10e4e45da
Subproject commit 9a358e5cc3977fd6121f12dd25a358081fd77041

View file

@ -109,6 +109,9 @@ AM_PROG_CC_C_O
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
dnl check if the compiler supports do while(0) macros
AG_GST_CHECK_DOWHILE_MACROS
dnl check for documentation tools
GTK_DOC_CHECK([1.3])
AS_PATH_PYTHON([2.1])