From cb1a86176d53a451a8d4d6224569aef80b909424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 10 Jan 2008 12:51:21 +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: Check for a working C compiler with AC_PROG_CC. 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 | 13 +++++++++++++ autogen.sh | 2 +- common | 2 +- configure.ac | 6 ++++++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 151c2b1c61..67871f7169 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +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: + Check for a working C compiler with AC_PROG_CC. + + 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-01 Edward Hervey * gst/Makefile.am: diff --git a/autogen.sh b/autogen.sh index 5cd6f17d67..f7bd8a1569 100755 --- a/autogen.sh +++ b/autogen.sh @@ -67,7 +67,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/common b/common index 970759077c..49c2fc5c9b 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 970759077c95ee4e85650db023ac6f974e2aa5e1 +Subproject commit 49c2fc5c9bff0e9858e89978bd98164a386de51d diff --git a/configure.ac b/configure.ac index 965f73cccd..8baf6a3d6e 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,12 @@ AC_SUBST(GSTPB_REQ, 0.10.0.2) AC_DISABLE_STATIC AC_PROG_LIBTOOL +dnl find a compiler +AC_PROG_CC + +dnl check if the compiler supports '-c' and '-o' options +AM_PROG_CC_C_O + AG_GST_ARG_GCOV dnl check for python