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:28:19 +0000 (12:28 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 10 Jan 2008 12:28:19 +0000 (12:28 +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 e087a7d5190469499f0a40a0f7a035c6dbd180e3..7e701139fa7cd6d3e3273d6f59131552d63334fb 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  Stefan Kost  <ensonic@users.sf.net>
 
        * Makefile.am:
index a889103ff13b31852887c399625e60a9f7b2fabc..0ce10a0d9129b13ab13724c64aa26483a68ecba8 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 87fe5ff8b6539c855379a8e07679527cd93d948f..8ce90b2fb91a3cf33874423e00aa7e558e1f7c09 100644 (file)
@@ -124,6 +124,9 @@ AC_PROG_CXX
 dnl determine if c++ is available on this system
 AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
 
+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")