mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
406c70c530
commit
75a5814136
@ -1,9 +1,9 @@
|
|||||||
AC_INIT(src)
|
AC_INIT(src)
|
||||||
|
|
||||||
# we don't want VERSION in our config.h
|
# we don't want VERSION in our config.h
|
||||||
if test -n "`grep '^#undef VERSION' config.h.in`"; then
|
if test -n "`grep '^#undef VERSION' $srcdir/config.h.in`"; then
|
||||||
grep -v '^#undef VERSION' config.h.in > config.h.in.temp
|
grep -v '^#undef VERSION' $srcdir/config.h.in > config.h.in.temp
|
||||||
mv -f config.h.in.temp config.h.in
|
mv -f config.h.in.temp $srcdir/config.h.in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user