summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-21 11:19:45 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-21 11:19:48 -0800
commit6d093e2397ecdbbba044fe7ef2fd922c8c8261de (patch)
treef33d27395247efe62216c64b24743a6acd3eaf5f
parentb8ef6cea0ccae4d88a9cb91cd836188ae781cda8 (diff)
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac18
1 files changed, 8 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index a954dfa..5991a6a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,15 +1,15 @@
-# -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
+dnl -*- Autoconf -*-
+dnl Process this file with autoconf to produce a configure script.
+# Initialize Autoconf
AC_PREREQ(2.60)
-AC_INIT([libSM],
- [1.2.0],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
- libSM)
-
+AC_INIT([libSM], [1.2.0],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libSM])
AC_CONFIG_SRCDIR([Makefile.am])
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AC_CONFIG_HEADERS([config.h])
+# Initialize Automake
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
# Require xorg-macros minimum of 1.10 for DocBook XML documentation
@@ -22,8 +22,6 @@ XORG_WITH_XMLTO(0.0.20)
XORG_WITH_FOP
XORG_CHECK_SGML_DOCTOOLS(1.5)
-AM_CONFIG_HEADER([config.h])
-
# Checks for programs.
AC_PROG_LIBTOOL