configure: Use automake 1.11 silent rules instead of shave if available
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Feb 2010 14:48:43 +0000 (15:48 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 9 Mar 2010 21:12:21 +0000 (21:12 +0000)
This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.

configure.ac

index 420f02f..e033ed9 100644 (file)
@@ -30,6 +30,11 @@ AM_MAINTAINER_MODE
 dnl sets host_* variables
 AC_CANONICAL_HOST
 
+dnl use pretty build output with automake >= 1.11
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
+  [AM_DEFAULT_VERBOSITY=1
+   AC_SUBST(AM_DEFAULT_VERBOSITY)])
+
 dnl our libraries and install dirs use major.minor as a version
 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
 dnl we override it here if we need to for the release candidate of new series
@@ -395,14 +400,10 @@ if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
 fi
 AM_CONDITIONAL(HAVE_FFMPEG_UNINSTALLED, test x$HAVE_FFMPEG_UNINSTALLED = x1)
 
-SHAVE_INIT([common],[enable])
-
 AC_CONFIG_FILES(
 Makefile
 common/Makefile
 common/m4/Makefile
-common/shave
-common/shave-libtool
 gst-ffmpeg.spec
 ext/Makefile
 ext/ffmpeg/Makefile