diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2007-05-05 14:29:25 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-05-05 14:29:25 +0000 |
commit | 871aa6e6799f4a0e29c4dc4504e305aafd651974 (patch) | |
tree | 4961209311865afc232e305989ecdec9af5af726 /configure.in | |
parent | 87d02c32d81ebc28f6986683bd93e234fe0d6553 (diff) | |
download | irssi-871aa6e6799f4a0e29c4dc4504e305aafd651974.zip |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files 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 |