From 6d093e2397ecdbbba044fe7ef2fd922c8c8261de Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 21 Nov 2010 11:19:45 -0800 Subject: 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 --- configure.ac | 18 ++++++++---------- 1 file 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 -- cgit v1.2.1