summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 17f2949..93372f5 100755
--- a/configure
+++ b/configure
@@ -128,6 +128,8 @@ fi
if [ -z "${SRCDIR}" ]; then
SRCDIR=$(dirname "${0}")
fi
+# Make SRCDIR an absolute path if it isn't already.
+SRCDIR=$(cd ${SRCDIR} && pwd)
if [ -z "${PREFIX}" ]; then
PREFIX=/usr/local
fi