mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
correction to makesrcdir for relative srcdir
This commit is contained in:
parent
30662ca6a8
commit
ee1dc1b77d
@ -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
|
||||
|
5
configure
vendored
5
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user