aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-04-16 01:24:59 +0000
committerK. Richard Pixley <rich@cygnus>1992-04-16 01:24:59 +0000
commitee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9 (patch)
tree2a61294550e6ede43b4242456b532cbf57819677 /configure
parent30662ca6a8b8f98e699916cd23281c56441d8490 (diff)
downloadgdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.zip
gdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.tar.gz
gdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.tar.bz2
correction to makesrcdir for relative srcdir
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