[gnome-video-effects] modernize autotools build system



commit e55d088011ea26bbfaa7cba339e742223c042afa
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Sun Feb 6 13:25:15 2011 +0100

    modernize autotools build system
    
    see http://live.gnome.org/GnomeGoals/ModernAutotools for
    more information

 autogen.sh   |    7 ++-----
 configure.ac |   12 +++++++++---
 2 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 72879c5..db8e20e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,11 +13,8 @@ PKG_NAME="gnome-video-effects"
 }
 
 which gnome-autogen.sh || {
-    echo "You need to install gnome-common from the GNOME CVS"
+    echo "You need to install gnome-common from the GNOME git"
     exit 1
 }
 
-REQUIRED_AUTOCONF_VERSION=2.57
-REQUIRED_AUTOMAKE_VERSION=1.7
-REQUIRED_PKG_CONFIG_VERSION=0.16.0
-USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
+. gnome-autogen.sh
diff --git a/configure.ac b/configure.ac
index 499b6f2..6df60a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,11 +1,16 @@
 # Process this file with autoconf to produce a configure script.
 
-AC_INIT(gnome-video-effects, 0.2.0)
+AC_INIT([gnome-video-effects],
+	[0.2.0],
+	[http://bugzilla.gnome.org/enter_bug.cgi?],
+	[gnome-video-effects],
+	[http://live.gnome.org/GnomeVideoEffects])
 
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AM_INIT_AUTOMAKE([1.11.1 -Wall])
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
 AC_SUBST(VERSION)
+ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
 
 #*******************************************************************************
 # Internationalization
@@ -19,9 +24,10 @@ AM_GLIB_GNU_GETTEXT
 
 AC_PROG_LN_S
 
-AC_OUTPUT([
+AC_CONFIG_FILES([
 Makefile
 gnome-video-effects.pc
 effects/Makefile
 po/Makefile.in
 ])
+AC_OUTPUT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]