summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-29 03:54:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-29 03:54:39 +0000
commit69e8011196d949f366e6d4134c6c228e2b13879f (patch)
tree1519cba49d2f3fa909932f0b746d7c387e9d727e /autogen.sh
parentd06cd9ddbb18ca67d122dbb4054034732fb62f9a (diff)
downloadirssi-69e8011196d949f366e6d4134c6c228e2b13879f.zip
Remove VERSION from config.h.in so you don't need to rebuild the whole irssi
because of it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1672 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index aed3b0ef..90f9c8f2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -103,6 +103,10 @@ aclocal $aclocalinclude
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader
+
+ # we don't want VERSION in our config.h
+ grep -v '^#undef VERSION' config.h.in > config.h.in.temp
+ mv -f config.h.in.temp config.h.in
fi
echo "Running autoconf ..."
autoconf