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 | |
parent | 30662ca6a8b8f98e699916cd23281c56441d8490 (diff) | |
download | gdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.zip gdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.tar.gz gdb-ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9.tar.bz2 |
correction to makesrcdir for relative srcdir
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | configure | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Apr 15 17:27:34 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * configure: correct makesrcdir when subdir is . + Tue Apr 14 11:56:09 1992 Per Bothner (bothner@cygnus.com) * configure: Add support for 'subdirs' variable, which is @@ -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 |