diff options
author | K. Richard Pixley <rich@cygnus> | 1991-12-28 03:15:17 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-12-28 03:15:17 +0000 |
commit | 079399f6dfa698dee207e1ef8afb9fd047918c80 (patch) | |
tree | 62331591375f6633203a8e5035c4b6e897ab233a /configure | |
parent | 25113b464774b474d4c233f2acaec23fa367eace (diff) | |
download | fsf-binutils-gdb-079399f6dfa698dee207e1ef8afb9fd047918c80.zip fsf-binutils-gdb-079399f6dfa698dee207e1ef8afb9fd047918c80.tar.gz fsf-binutils-gdb-079399f6dfa698dee207e1ef8afb9fd047918c80.tar.bz2 |
small changes to accomodate other versions of configure
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |