+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>
* m68k.h (INDIRECTABLE_1_ADDRESS_P): Fix thinko.
AC_ARG_WITH(as,
[ --with-as arrange to use the specified as (full pathname).],
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
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
gas_flag=yes
fi
AC_DEFINE_UNQUOTED(DEFAULT_ASSEMBLER,"$AS")
-fi
+ ;;
+esac
# With stabs
AC_ARG_WITH(stabs,