diff --git a/configure b/configure index 8c2715b..62a0f4c 100755 --- a/configure +++ b/configure @@ -1,3 +1,4 @@ #!/bin/bash -sed "s/%VPATH%/`dirname $0`/" `dirname $0`/Makefile.in > Makefile +SRCDIR="$(cd $(dirname $0) && pwd)" +sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile