From 25a75c7cc8e2f117aa4e0c7a3def53c52e37996f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 10 Jan 2008 12:14:04 +0000 Subject: [PATCH] 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. --- ChangeLog | 11 +++++++++++ autogen.sh | 2 +- configure.ac | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a9f5893..bf6ff7d 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 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: diff --git a/autogen.sh b/autogen.sh index 12523c1..e6efc42 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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." diff --git a/configure.ac b/configure.ac index c3ae7ce..5d59d0d 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4