aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-04-21 04:05:37 +0000
committerK. Richard Pixley <rich@cygnus>1992-04-21 04:05:37 +0000
commit9546e9b45c0d594fa2ab3ab60f363a97052c0a68 (patch)
treed0337f2ed61c0a410e9bd18100f7e17e07216c78 /configure
parenta14b294143462318b33331ec579e745f8ff9e179 (diff)
downloadfsf-binutils-gdb-9546e9b45c0d594fa2ab3ab60f363a97052c0a68.zip
fsf-binutils-gdb-9546e9b45c0d594fa2ab3ab60f363a97052c0a68.tar.gz
fsf-binutils-gdb-9546e9b45c0d594fa2ab3ab60f363a97052c0a68.tar.bz2
correct makesrcdir when subdir is .
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index fd0384b..d8d44a8 100755
--- a/configure
+++ b/configure
@@ -479,6 +479,10 @@ for subdir in . ${subdirs} ; do
Makefile=${subdir}/Makefile
fi
+ if [ ! -d ${subdir} ] ; then
+ mkdir ${subdir}
+ fi
+
case "${removing}" in
"")
if [ -n "${verbose}" -o -z "${silent}" ] ; then
@@ -622,7 +626,7 @@ EOF
# Define macro CROSS_COMPILE in compilation if this is a cross-compiler.
case "${host_alias}" in
"${target_alias}")
- tooldir="\$(libdir)"
+ tooldir='$(libdir)'
echo "ALL=all.internal" >> ${Makefile}
;;
*)