mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
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
This commit is contained in:
parent
6e187b4a9a
commit
c9d4a35bd8
@ -99,10 +99,6 @@ aclocal $aclocalinclude
|
|||||||
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
|
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
|
||||||
echo "Running autoheader..."
|
echo "Running autoheader..."
|
||||||
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
|
fi
|
||||||
echo "Running autoconf ..."
|
echo "Running autoconf ..."
|
||||||
autoconf
|
autoconf
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
AC_INIT(src)
|
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_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(irssi, 0.7.98.CVS)
|
AM_INIT_AUTOMAKE(irssi, 0.7.98.CVS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user