summaryrefslogtreecommitdiffstats
path: root/gcc/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 96d8e04cd70..7c520308cf0 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2674,6 +2674,15 @@ foo: nop
else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS"
fi])
+ if test x$gas_flag = xyes \
+ || test x"$host" != x"$build" \
+ || test ! -x "$gcc_cv_as" \
+ || "$gcc_cv_as" -v < /dev/null 2>&1 | grep GNU > /dev/null; then
+ :
+ else
+ echo "*** This configuration requires the GNU assembler" >&2
+ exit 1
+ fi
;;
esac
# ??? Not all targets support dwarf2 debug_line, even within a version
OpenPOWER on IntegriCloud