summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-02-02 11:43:41 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-02-02 14:13:01 -0500
commitbd78cc3b4afec713fcef114b5f12186d749fdb17 (patch)
tree6e19f0d4cf65c981543683bae083fcf78fd481a7
parent449ab92d83a972ba28ffda0ae198a6c8e4b00e78 (diff)
config: comment, minor upgrade and layout configure.ac
Group statements per section as per Autoconf standard layout Autoconf recommends not using dnl instead of # for comments No functional configuration changes This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac11
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 621081b..00f6cfa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,3 @@
-dnl Process this file with autoconf to create configure.
# Initialize Autoconf
AC_PREREQ([2.60])
@@ -11,6 +10,9 @@ AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
+# Initialize libtool
+AC_PROG_LIBTOOL
+
# Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])])
@@ -21,11 +23,12 @@ XORG_WITH_XMLTO(0.0.20)
XORG_WITH_FOP
XORG_CHECK_SGML_DOCTOOLS(1.5)
-# Check for progs
-AC_PROG_LIBTOOL
-AC_PROG_AWK
+# Some compilers do not support per target -c and -o flags
AM_PROG_CC_C_O
+# Checks for programs.
+AC_PROG_AWK
+
# Need to call this explicitly since the first call to PKG_CHECK_MODULES
# is in an if statement, and later calls would break if it's skipped.
PKG_PROG_PKG_CONFIG