From ee1dc1b77dfee8ce0beb144a05bc04ad25dc65f9 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Thu, 16 Apr 1992 01:24:59 +0000 Subject: [PATCH] correction to makesrcdir for relative srcdir --- ChangeLog | 4 ++++ configure | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f089c9dab51..84361d51c7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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 -- 2.30.2