build: Properly require automake-1.11
authorJens Georg <mail@jensge.org>
Sat, 16 Oct 2010 22:51:44 +0000 (00:51 +0200)
committerJens Georg <mail@jensge.org>
Sat, 16 Oct 2010 22:52:40 +0000 (00:52 +0200)
autogen.sh
configure.ac

index cc056c2..7f5f354 100755 (executable)
@@ -6,6 +6,9 @@ which gnome-autogen.sh || {
 }
 
 mkdir -p m4
+
+# require automak 1.11 for vala support
+export REQUIRED_AUTOMAKE_VERSION=1.11
 gnome-autogen.sh --enable-vala --enable-maintainer-mode --enable-debug \
                  --enable-test-plugin --enable-mediathek-plugin \
                  --enable-gst-launch-plugin "$@"
index 8e99603..7c39037 100644 (file)
@@ -4,8 +4,7 @@ AC_INIT([rygel],
        [http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel])
 AC_CONFIG_AUX_DIR([build-aux])
 
-# require automake-1.11 for vala support
-AM_INIT_AUTOMAKE([1.11])
+AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/rygel/rygel-root-device.vala])
 AM_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])