summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-01-10 12:22:46 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-01-10 12:22:46 +0000
commita0223952a6d7ca01cca465730bb150050967920d (patch)
tree0ac59d45afa3f9c709fd508168edd5f198588b8f
parent526fd3d7da562ac8ee8d48961e1c3aa1915625e2 (diff)
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--ChangeLog11
-rwxr-xr-xautogen.sh2
m---------common0
-rw-r--r--configure.ac3
4 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 84faaa68..01767551 100644
--- 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-08 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_pull_start_tag):
diff --git a/autogen.sh b/autogen.sh
index 0fd03821..43cda4e7 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/common b/common
-Subproject 970759077c95ee4e85650db023ac6f974e2aa5e
+Subproject 49c2fc5c9bff0e9858e89978bd98164a386de51
diff --git a/configure.ac b/configure.ac
index dcbe3a7e..9cb2f811 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,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
+
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")