summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2006-09-21 13:53:56 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-21 13:53:56 +0000
commit75a5814136fb854dcf19f3b3e48223e8ecaad9b2 (patch)
tree85cd3b4db3a93fefb0a5ae63d81521ef1da0bc5d /configure.in
parent406c70c5304f09664b2f771feb6bf2084123cb27 (diff)
downloadirssi-75a5814136fb854dcf19f3b3e48223e8ecaad9b2.zip
Fix for srcdir != builddir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4374 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index c63fe60c..d77ea086 100644
--- a/configure.in
+++ b/configure.in
@@ -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)