Commit 0936a455 by Alan Modra Committed by Alan Modra

configure.in (gcc_cv_as_bfd_srcdir): New.

	* configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
	version in single tree build.
	* configure: Regenerate.

From-SVN: r46275
parent aac04c15
2001-10-16 Alan Modra <amodra@bigpond.net.au>
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
version in single tree build.
* configure: Regenerate.
2001-10-15 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
......
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment