[jhbuild] configure.ac: General cleanup



commit fde13f8d46b2f87e5b452633bede38376ebbb480
Author: Javier JardÃn <jjardon gnome org>
Date:   Wed Oct 5 00:17:25 2011 +0100

    configure.ac: General cleanup
    
    https://bugzilla.gnome.org/show_bug.cgi?id=660939

 configure.ac |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 78f5c72..79adc55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,14 +1,19 @@
-AC_INIT([jhbuild], [3.2.0],
-		[http://bugzilla.gnome.org/enter_bug.cgi?product=jhbuild])
+AC_INIT([jhbuild],
+        [3.2.0],
+        [http://bugzilla.gnome.org/enter_bug.cgi?product=jhbuild],
+        [jhbuild])
 
 AC_CONFIG_SRCDIR(jhbuild/main.py)
+AC_PREFIX_DEFAULT([~/.local/])
 AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([1.11 -Wno-portability foreign no-define tar-ustar no-dist-gzip dist-xz])
 AM_MAINTAINER_MODE([enable])
-AC_PREFIX_DEFAULT(~/.local/)
 
+# Check for programs
+AC_PROG_CC
 AM_PATH_PYTHON
+PKG_PROG_PKG_CONFIG
 
 # i18n
 IT_PROG_INTLTOOL([0.40.0])
@@ -20,9 +25,6 @@ GETTEXT_PACKAGE="jhbuild"
 AC_SUBST([GETTEXT_PACKAGE])
 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
 
-AC_PROG_CC
-PKG_PROG_PKG_CONFIG
-
 # Documentation
 AC_ARG_ENABLE(
 	doc_installation,
@@ -37,9 +39,11 @@ GNOME_DOC_INIT
 AC_CONFIG_FILES([
 	Makefile
 	doc/Makefile
+	examples/jhbuild.desktop
 	po/Makefile.in
 	scripts/Makefile
 	triggers/Makefile
+	jhbuild.desktop.in
 	jhbuild/Makefile
 	jhbuild/buildbot/Makefile
 	jhbuild/buildbot/status/web/Makefile
@@ -52,7 +56,4 @@ AC_CONFIG_FILES([
 	jhbuild/versioncontrol/Makefile
 	buildbot/Makefile
 ])
-AC_OUTPUT([
-        examples/jhbuild.desktop
-	jhbuild.desktop.in
-])
+AC_OUTPUT



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