From c9d4a35bd865ce6e7d94f698ac88c86bde761707 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 4 Dec 2001 15:15:14 +0000 Subject: Moved the VERSION-removal of config.h.in to configure from autogen because "make dist" ran autoheader again and the VERSION wasn't removed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2196 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index afadddc7..23596412 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,11 @@ AC_INIT(src) +# we don't want VERSION in our config.h +if test -n "`grep '^#undef VERSION' config.h.in`"; then + grep -v '^#undef VERSION' config.h.in > config.h.in.temp + mv -f config.h.in.temp config.h.in +fi + AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(irssi, 0.7.98.CVS) -- cgit v1.2.3