From 871aa6e6799f4a0e29c4dc4504e305aafd651974 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sat, 5 May 2007 14:29:25 +0000 Subject: [PATCH] Replace obsolete autoconf/automake macros with their current equivalent. Require automake-1.9. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4481 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index c799d5b2..0e21fa2d 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,5 @@ -AC_INIT(src) +AC_INIT(irssi, 0.8.11) +AC_CONFIG_SRCDIR([src]) AC_PREREQ(2.50) # we don't want VERSION in our config.h @@ -7,8 +8,8 @@ if grep '^#undef VERSION' $srcdir/config.h.in >/dev/null; then mv -f config.h.in.temp $srcdir/config.h.in fi -AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(irssi, 0.8.11) +AC_CONFIG_HEADERS([config.h]) +AM_INIT_AUTOMAKE([1.9]) AM_MAINTAINER_MODE @@ -827,7 +828,7 @@ VERSION_TIME=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $6}' | awk -F AC_SUBST(VERSION_DATE) AC_SUBST(VERSION_TIME) -AC_OUTPUT( +AC_CONFIG_FILES([ Makefile src/Makefile src/core/Makefile @@ -859,7 +860,10 @@ docs/help/in/Makefile irssi-version.h stamp.h irssi.spec -irssi-config) +irssi-config +]) + +AC_OUTPUT dnl ** for building from objdir old_dir=`pwd` && cd $srcdir && whole_dir=`pwd` && cd $old_dir