diff options
author | K. Richard Pixley <rich@cygnus> | 1992-04-16 01:24:59 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-04-16 01:24:59 +0000 |
commit | ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9 (patch) | |
tree | 2a61294550e6ede43b4242456b532cbf57819677 /configure | |
parent | 30662ca6a8b8f98e699916cd23281c56441d8490 (diff) | |
download | binutils-gdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.tar.gz |
correction to makesrcdir for relative srcdir
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure index 5fd474e7387..fd0384b5e09 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 |