diff options
author | Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | 1998-10-30 01:45:46 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 1998-10-30 01:45:46 +0000 |
commit | d65ae0584b97a5f550427c22bf87e5a46ff94a2e (patch) | |
tree | 8dc25dbbe5cb6080e6acc92f8dfe46ce0ae4fdce | |
parent | f5343a9dd0ae1d0eebe07c0d2ec8e66b8428aa53 (diff) | |
download | gcc-d65ae0584b97a5f550427c22bf87e5a46ff94a2e.zip gcc-d65ae0584b97a5f550427c22bf87e5a46ff94a2e.tar.gz gcc-d65ae0584b97a5f550427c22bf87e5a46ff94a2e.tar.bz2 |
* configure.in: Ignore non-absolute value in $AS.
From-SVN: r23451
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/configure.in | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0ad015..0b1b47b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gcc/configure.in b/gcc/configure.in index 6bb40d3..5fd132a 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -112,14 +112,17 @@ gas_flag=no) 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, |