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:14:04 +0000 (12:14 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 10 Jan 2008 12:14:04 +0000 (12:14 +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 a9f5893..bf6ff7d 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  Tim-Philipp Müller  <tim at centricular dot net>
 
        * docs/gst/gstreamer-sections.txt:
index 12523c1..e6efc42 100755 (executable)
@@ -84,7 +84,7 @@ echo timestamp > stamp-h.in 2> /dev/null
 
 tool_run "$autoconf"
 debug "automake: $automake"
-tool_run "$automake" "--add-missing --copy"
+tool_run "$automake" "--add-missing --copy -Wno-portability"
 
 test -n "$NOCONFIGURE" && {
   echo "skipping configure stage for package $package, as requested."
index c3ae7ce..5d59d0d 100644 (file)
@@ -260,6 +260,9 @@ dnl *** checks for programs ***
 dnl find a compiler
 AC_PROG_CC
 
+dnl check if the compiler supports '-c' and '-o' options
+AM_PROG_CC_C_O
+
 dnl find an assembler
 AM_PROG_AS