From 75a5814136fb854dcf19f3b3e48223e8ecaad9b2 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Thu, 21 Sep 2006 13:53:56 +0000 Subject: [PATCH] Fix for srcdir != builddir. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4374 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 6 +++--- 1 file 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)