1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Fix for srcdir != builddir.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4374 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-09-21 13:53:56 +00:00 committed by exg
parent 406c70c530
commit 75a5814136

View File

@ -1,9 +1,9 @@
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
if test -n "`grep '^#undef VERSION' $srcdir/config.h.in`"; then
grep -v '^#undef VERSION' $srcdir/config.h.in > config.h.in.temp
mv -f config.h.in.temp $srcdir/config.h.in
fi
AM_CONFIG_HEADER(config.h)