diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-01-10 12:36:46 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-01-10 12:36:46 +0000 |
commit | 868b72c9a3b624231fd36fb6fe68ecac8584f9af (patch) | |
tree | 7cf7797d05d29c7a7fb32314d6fe514f5d167a0f | |
parent | 8fc6e320d065e28896b22539b28b5c8208054207 (diff) | |
download | gstreamer-plugins-bad-868b72c9a3b624231fd36fb6fe68ecac8584f9af.tar.gz |
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.
-rw-r--r-- | ChangeLog | 11 | ||||
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | configure.ac | 3 |
3 files changed, 15 insertions, 1 deletions
@@ -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 Wim Taymans <wim.taymans@collabora.co.uk> * gst/rtpmanager/gstrtpsession.c: (create_send_rtp_sink): diff --git a/autogen.sh b/autogen.sh index 956d8ddf6..05a219ff6 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 9caf9dcd6..1b0d08bde 100644 --- a/configure.ac +++ b/configure.ac @@ -150,6 +150,9 @@ AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) 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") |