Commit d65ae058 by Andreas Schwab Committed by Andreas Schwab

* configure.in: Ignore non-absolute value in $AS.

From-SVN: r23451
parent f5343a9d
Fri Oct 30 10:43:29 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* configure.in: Ignore non-absolute value in $AS.
Fri Oct 30 00:54:25 1998 Peter Jakubek <pjak@snafu.de> Fri Oct 30 00:54:25 1998 Peter Jakubek <pjak@snafu.de>
* m68k.h (INDIRECTABLE_1_ADDRESS_P): Fix thinko. * m68k.h (INDIRECTABLE_1_ADDRESS_P): Fix thinko.
......
...@@ -112,14 +112,17 @@ gas_flag=no) ...@@ -112,14 +112,17 @@ gas_flag=no)
AC_ARG_WITH(as, AC_ARG_WITH(as,
[ --with-as arrange to use the specified as (full pathname).], [ --with-as arrange to use the specified as (full pathname).],
AS="$with_as") AS="$with_as")
if test x"${AS+set}" = x"set"; then # Ignore any non-absolute value which comes from ${GCC_FLAGS_TO_PASS}.
case $AS in
/*)
if test ! -x "$AS"; then if test ! -x "$AS"; then
AC_MSG_WARN([cannot execute: $AS: check --with-as or env. var. AS]) AC_MSG_WARN([cannot execute: $AS: check --with-as or env. var. AS])
elif test "GNU" = `$AS -v </dev/null 2>&1 | sed '1s/^GNU.*/GNU/;q'`; then elif test "GNU" = `$AS -v </dev/null 2>&1 | sed '1s/^GNU.*/GNU/;q'`; then
gas_flag=yes gas_flag=yes
fi fi
AC_DEFINE_UNQUOTED(DEFAULT_ASSEMBLER,"$AS") AC_DEFINE_UNQUOTED(DEFAULT_ASSEMBLER,"$AS")
fi ;;
esac
# With stabs # With stabs
AC_ARG_WITH(stabs, AC_ARG_WITH(stabs,
......
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