correction to makesrcdir for relative srcdir

This commit is contained in:
K. Richard Pixley 1992-04-16 01:24:59 +00:00
parent 30662ca6a8
commit ee1dc1b77d
2 changed files with 8 additions and 1 deletions

View File

@ -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
View File

@ -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