projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30662ca
)
correction to makesrcdir for relative srcdir
author
K. Richard Pixley
<rich@cygnus>
Thu, 16 Apr 1992 01:24:59 +0000
(
01:24
+0000)
committer
K. Richard Pixley
<rich@cygnus>
Thu, 16 Apr 1992 01:24:59 +0000
(
01:24
+0000)
ChangeLog
patch
|
blob
|
history
configure
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index f089c9dab512d90ae946c3bda17425155ab443f7..84361d51c7e1cbf6fd8faf1152eb3ff867222210 100644
(file)
--- 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 5fd474e73874ad0f35fa6f1d63cb461b45c3f945..fd0384b5e09e71b25ff1b91ff58743e042a739a2 100755
(executable)
--- 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