Commit a2c9d57c by Jeffrey A Law Committed by Jeff Law

configure.in: Rework gas feature code to work with symlink based source trees.

        * configure.in: Rework gas feature code to work with symlink based
        source trees.

From-SVN: r21160
parent 0deaf590
...@@ -6,6 +6,9 @@ Tue Jul 14 14:15:30 1998 Nick Clifton <nickc@cygnus.com> ...@@ -6,6 +6,9 @@ Tue Jul 14 14:15:30 1998 Nick Clifton <nickc@cygnus.com>
Tue Jul 14 14:46:08 1998 Jeffrey A Law (law@cygnus.com) Tue Jul 14 14:46:08 1998 Jeffrey A Law (law@cygnus.com)
* configure.in: Rework gas feature code to work with symlink based
source trees.
* extend.texi: Clarify some issues related to local variables * extend.texi: Clarify some issues related to local variables
assigned to explicit registers. assigned to explicit registers.
......
...@@ -3326,12 +3326,13 @@ fi ...@@ -3326,12 +3326,13 @@ fi
AC_MSG_CHECKING(assembler alignment features) AC_MSG_CHECKING(assembler alignment features)
gcc_cv_as= gcc_cv_as=
gcc_cv_as_alignment_features= gcc_cv_as_alignment_features=
gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,gcc$,gas,'`
if [[ -x as$host_exeext ]]; then if [[ -x as$host_exeext ]]; then
# Build using assembler in the current directory. # Build using assembler in the current directory.
gcc_cv_as=./as$host_exeext gcc_cv_as=./as$host_exeext
elif [[ -f $srcdir/../gas/configure.in ]]; then elif [[ -f $gcc_cv_as_gas_srcdir/configure.in ]]; then
# Single tree build which includes gas. # Single tree build which includes gas.
for f in $srcdir/../gas/configure $srcdir/../gas/configure.in $srcdir/../gas/Makefile.in for f in $gcc_cv_as_gas_srcdir/configure $gcc_cv_as_gas_srcdir/configure.in $gcc_cv_as_gas_srcdir/Makefile.in
do do
gcc_cv_gas_version=`grep '^VERSION=[[0-9]]*\.[[0-9]]*' $f` gcc_cv_gas_version=`grep '^VERSION=[[0-9]]*\.[[0-9]]*' $f`
if [[ x$gcc_cv_gas_version != x ]]; then if [[ x$gcc_cv_gas_version != x ]]; then
......
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