aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 5fd474e..fd0384b 100755
--- a/configure
+++ b/configure
@@ -468,7 +468,10 @@ for subdir in . ${subdirs} ; do
makesrcdir=`echo ${srcdir}/${subdir} | sed -e 's|/\.$||'`
;;
*) # otherwise relative
- makesrcdir=../${srcdir}/${subdir}
+ case "${subdir}" in
+ .) makesrcdir=${srcdir} ;;
+ *) makesrcdir=../${srcdir}/${subdir} ;;
+ esac
;;
esac