autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 10 Jan 2008 12:25:44 +0000 (12:25 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 10 Jan 2008 12:25:44 +0000 (12:25 +0000)
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.

ChangeLog
autogen.sh
configure.ac

index 594b7fb..43f1530 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * 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  <edward.hervey@collabora.co.uk>
 
        * gst/videomixer/videomixer.c: (gst_videomixer_init):
index 895531a..fad082b 100755 (executable)
@@ -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
index 5d233bf..d0153d0 100644 (file)
@@ -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")