diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-16 03:33:48 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-16 03:33:48 +0000 |
commit | 43a30d5783d9737c5474e3c17e6395eb735652bf (patch) | |
tree | 39b8138b9bdda9e7bfcc0f23806e0162e47a5f2d /gcc/configure.in | |
parent | 349e82761f2e7e2100e6154bed1f2125cb01be3a (diff) | |
download | gcc-43a30d5783d9737c5474e3c17e6395eb735652bf.tar.gz |
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
version in single tree build.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46275 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index f1ea4e4cf8b..6ce9d2c626f 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1149,6 +1149,7 @@ gcc_cv_as= gcc_cv_gas_major_version= gcc_cv_gas_minor_version= gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/gas +gcc_cv_as_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfd if test -x "$DEFAULT_ASSEMBLER"; then gcc_cv_as="$DEFAULT_ASSEMBLER" elif test -x "$AS"; then @@ -1158,7 +1159,7 @@ elif test -x as$host_exeext; then gcc_cv_as=./as$host_exeext elif test -f $gcc_cv_as_gas_srcdir/configure.in -a -f ../gas/Makefile; then # Single tree build which includes gas. - for f in $gcc_cv_as_gas_srcdir/configure $gcc_cv_as_gas_srcdir/configure.in $gcc_cv_as_gas_srcdir/Makefile.in + for f in $gcc_cv_as_bfd_srcdir/configure $gcc_cv_as_gas_srcdir/configure $gcc_cv_as_gas_srcdir/configure.in $gcc_cv_as_gas_srcdir/Makefile.in do changequote(,)dnl gcc_cv_gas_version=`grep '^VERSION=[0-9]*\.[0-9]*' $f` |