diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-04-30 00:33:18 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2004-04-30 10:33:18 +1000 |
commit | 99c012a85b97d664a9e7715f9e2256473b0f7cc8 (patch) | |
tree | 11c6d5a39bc3edb222d38df59955f49af2577347 /gcc/configure.ac | |
parent | 9f08a7559e6a6332e4fa3883e03849e9d7230835 (diff) | |
download | gcc-99c012a85b97d664a9e7715f9e2256473b0f7cc8.zip gcc-99c012a85b97d664a9e7715f9e2256473b0f7cc8.tar.gz gcc-99c012a85b97d664a9e7715f9e2256473b0f7cc8.tar.bz2 |
configure.ac (--with-as): Abort if user-supplied assembler cannot be executed.
* configure.ac (--with-as): Abort if user-supplied assembler
cannot be executed.
(--with-ld): Likewise for the linker.
* configure: Regenerate.
From-SVN: r81316
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 5fac6c6..a7b3604 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -192,7 +192,7 @@ AC_ARG_WITH(ld, DEFAULT_LINKER="$with_ld") if test x"${DEFAULT_LINKER+set}" = x"set"; then if test ! -x "$DEFAULT_LINKER"; then - AC_MSG_WARN([cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER]) + AC_MSG_ERROR([cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER]) elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; then gnu_ld_flag=yes fi @@ -226,7 +226,7 @@ AC_ARG_WITH(as, DEFAULT_ASSEMBLER="$with_as") if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then if test ! -x "$DEFAULT_ASSEMBLER"; then - AC_MSG_WARN([cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER]) + AC_MSG_ERROR([cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER]) elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; then gas_flag=yes fi |