From 107480646e30614e046a10230c99a376be69100b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 20 Nov 2010 15:18:55 +0000 Subject: Fixed out-of-directory build support to not get confused by Eclipse. #713 --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index eeadcb85..cd492b98 100755 --- a/configure +++ b/configure @@ -128,8 +128,9 @@ LFLAGS= EFLAGS= EOF -srcdir="$(dirname $0)" -if [ "$srcdir" != "." ]; then +srcdir=$(cd $(dirname $0);pwd) +currdir=$(pwd) +if [ "$srcdir" != "$currdir" ]; then echo echo "configure script run from a different directory. Will create some symlinks..." if [ ! -e Makefile -o -L Makefile ]; then -- cgit v1.2.3