diff --git a/ChangeLog b/ChangeLog index 25d433d3e4859d91b8bc73f44ac1b07d6939b28b..a2d207298ca865f531d3f15ca4c9d11254cb2cf4 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 * configure.ac: diff --git a/autogen.sh b/autogen.sh index 62c8327ad1726f9cfe06ea288a07804bdee267a1..dd07d008e3cbd701dfef714b03d08368bb6d8632 100755 --- a/autogen.sh +++ b/autogen.sh @@ -96,7 +96,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 bbdb7971a74bf0b509fb8ebb02aa25f779b8f425..e92499bbbb95dd1e467f9fe642f2e7cd9592a57b 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,9 @@ AC_PROG_CC AM_PROG_CC_STDC AS="${CC}" +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")