aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@codesourcery.com>2007-08-07 18:33:16 +0000
committerCarlos O'Donell <carlos@gcc.gnu.org>2007-08-07 18:33:16 +0000
commitdc60b7754db561a029e42eeb297493726f8b8b33 (patch)
tree8f287ee437c41a3903ba4afe49b27a7b7cc676d4 /gcc/configure.ac
parent992669047c537067eaf71906950ef76f620ba2da (diff)
downloadgcc-dc60b7754db561a029e42eeb297493726f8b8b33.zip
gcc-dc60b7754db561a029e42eeb297493726f8b8b33.tar.gz
gcc-dc60b7754db561a029e42eeb297493726f8b8b33.tar.bz2
configure.ac: Define HAVE_GNU_AS if $gas_flag is yes.
2007-08-07 Carlos O'Donell <carlos@codesourcery.com> * configure.ac: Define HAVE_GNU_AS if $gas_flag is yes. * configure: Regenerate. * config.in: Regenerate. * gcc.c [HAVE_GNU_AS]: Add "%{v} %{w:-W} %{I*} " to asm_options spec string. From-SVN: r127275
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 1eecc61..e1dc518 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -246,6 +246,9 @@ if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
[Define to enable the use of a default assembler.])
fi
+gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi`
+AC_DEFINE_UNQUOTED(HAVE_GNU_AS, $gnu_as, [Define if using GNU as.])
+
AC_MSG_CHECKING([whether a default assembler was specified])
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
if test x"$gas_flag" = x"no"; then