From: Sebastian Dröge Date: Thu, 10 Jan 2008 12:25:44 +0000 (+0000) Subject: autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about... X-Git-Tag: RELEASE-0_10_7~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1355ae0c97d73ea874c33f19ff99492e83c69355;p=platform%2Fupstream%2Fgst-plugins-good.git autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We... Original commit message from CVS: * autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We require GNU make in almost every Makefile anyway. * configure.ac: Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o at the same time is required for per target flags. --- diff --git a/ChangeLog b/ChangeLog index 594b7fb..43f1530 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2008-01-10 Sebastian Dröge + + * autogen.sh: + Add -Wno-portability to the automake parameters to stop warnings + about GNU make extensions being used. We require GNU make in almost + every Makefile anyway. + + * configure.ac: + Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o + at the same time is required for per target flags. + 2008-01-09 Edward Hervey * gst/videomixer/videomixer.c: (gst_videomixer_init): diff --git a/autogen.sh b/autogen.sh index 895531a..fad082b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -80,7 +80,7 @@ tool_run "$autoheader" echo timestamp > stamp-h.in 2> /dev/null tool_run "$autoconf" -tool_run "$automake" "-a -c" +tool_run "$automake" "-a -c -Wno-portability" # if enable exists, add an -enable option for each of the lines in that file if test -f enable; then diff --git a/configure.ac b/configure.ac index 5d233bf..d0153d0 100644 --- a/configure.ac +++ b/configure.ac @@ -167,6 +167,9 @@ AC_PROG_CXXCPP AS_PROG_OBJC +dnl check if the compiler supports '-c' and '-o' options +AM_PROG_CC_C_O + AC_PATH_PROG(VALGRIND_PATH, valgrind, no) AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")