[gnome-font-viewer] build: Modernize the build system



commit 3c2022862a6ede782ba461fd9f9f44b3f8356e52
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Oct 25 14:44:52 2011 +0100

    build: Modernize the build system

 autogen.sh   |    2 +-
 configure.ac |   18 ++++++++----------
 2 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 7d1c9c0..79caedd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-PKG_NAME="GNOME Utilities"
+PKG_NAME="GNOME Font Viewer"
 
 (test -f $srcdir/configure.ac \
   && test -f $srcdir/src/font-view.c) || {
diff --git a/configure.ac b/configure.ac
index f06ee12..033d0ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,17 +1,17 @@
 dnl -*- mode: m4 -*-
 AC_PREREQ(2.63)
-AC_INIT([gnome-font-viewer],[3.3.3],[],[gnome-font-viewer])
+AC_INIT([gnome-font-viewer], [3.3.3],
+	[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-font-viewer],
+	[gnome-font-viewer],
+	[http://live.gnome.org/GnomeUtils])
 
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_MACRO_DIR([m4])
 
-m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
-
 AC_CANONICAL_TARGET
 
-# require automake 1.10
-AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip foreign])
-AM_MAINTAINER_MODE
+AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip foreign])
+AM_SILENT_RULES([yes])
 
 GETTEXT_PACKAGE=AC_PACKAGE_NAME
 AC_SUBST(GETTEXT_PACKAGE)
@@ -31,10 +31,8 @@ AC_PROG_CXX
 AC_ISC_POSIX
 AC_HEADER_STDC
 
-AM_DISABLE_STATIC
-# enable libtool
-AC_PROG_LIBTOOL
-# avoid libtool for LTCOMPILE, use it only to link
+LT_PREREQ([2.2.6])
+LT_INIT([disable-static])
 
 ## don't rerun to this point if we abort
 AC_CACHE_SAVE



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