changeset 1785:ef68139142bb

configure.in: modernize the initialization of autoconf/automake.
author Jeremy Henty <onepoint@starurchin.org>
date Sat, 01 Jan 2011 09:40:32 +0000
parents c76b679df50e
children dedb666768cf
files configure.in
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sat Dec 18 17:18:13 2010 +0000
+++ b/configure.in	Sat Jan 01 09:40:32 2011 +0000
@@ -1,12 +1,13 @@
 dnl Process this file with aclocal, autoconf and automake.
 
-AC_INIT(src/dillo.cc)
+AC_INIT([dillo], [2.2])
+AM_INIT_AUTOMAKE
+AC_CONFIG_SRCDIR([src/dillo.cc])
+AC_CONFIG_HEADERS([config.h])
 
 dnl Detect the canonical host and target build environment
 AC_CANONICAL_SYSTEM
 
-AM_INIT_AUTOMAKE(dillo, 2.2)
-AM_CONFIG_HEADER(config.h)
 sysconfdir=${sysconfdir}/${PACKAGE}
 
 dnl Options