aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-12-28 03:15:17 +0000
committerK. Richard Pixley <rich@cygnus>1991-12-28 03:15:17 +0000
commit079399f6dfa698dee207e1ef8afb9fd047918c80 (patch)
tree62331591375f6633203a8e5035c4b6e897ab233a /configure
parent25113b464774b474d4c233f2acaec23fa367eace (diff)
downloadgdb-079399f6dfa698dee207e1ef8afb9fd047918c80.zip
gdb-079399f6dfa698dee207e1ef8afb9fd047918c80.tar.gz
gdb-079399f6dfa698dee207e1ef8afb9fd047918c80.tar.bz2
small changes to accomodate other versions of configure
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index 882497d..b06cf25 100755
--- a/configure
+++ b/configure
@@ -360,8 +360,6 @@ fi
if [ -z "${srcdir}" ] ; then
if [ -r configure.in ] ; then
srcdir=.
- elif [ -r ../configure.in ] ; then
- srcdir=..
else
echo '***' "Can't find configure.in. Try using -srcdir=some_dir"
exit 1
@@ -755,7 +753,13 @@ ${progname}" ${arguments} "
esac
### The recursion line is here.
- if (${progname} -recurring ${host_alias} -target=${target_alias} \
+ if [ -x configure ] ; then
+ recprog=`pwd`/configure
+ else
+ recprog=${progname}
+ fi
+
+ if (${recprog} -recurring ${host_alias} -target=${target_alias} \
${verbose} ${subdirs} ${removing} ${prefixoption} \
${tmpdiroption} ${namesubdiroption} ${datadiroption} \
${srcdiroption}) ; then