summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-08-07 14:59:25 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-08-07 14:59:25 +0000
commit2ea061e97a9bb60c0262198b0c4b1ee8997ca3e6 (patch)
tree04543b1dbefc94be15cd7a34bbc71b696e80d126 /configure.in
parentde4c2af324e54c3b4ad545a89300dc4dc4676a98 (diff)
downloadirssi-2ea061e97a9bb60c0262198b0c4b1ee8997ca3e6.zip
Use automake no-define option rather than config.h.in mangling to inhibit
VERSION definition. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4598 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 0a46df40..a4e6eda9 100644
--- a/configure.in
+++ b/configure.in
@@ -2,14 +2,8 @@ AC_INIT(irssi, 0.8.12-svn)
AC_CONFIG_SRCDIR([src])
AC_PREREQ(2.50)
-# we don't want VERSION in our config.h
-if grep '^#undef VERSION' $srcdir/config.h.in >/dev/null; then
- grep -v '^#undef VERSION' $srcdir/config.h.in > config.h.in.temp
- mv -f config.h.in.temp $srcdir/config.h.in
-fi
-
AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([1.9])
+AM_INIT_AUTOMAKE([1.9 no-define])
AM_MAINTAINER_MODE