From ee7692d2fd4df71a8dde3617c2e1b0497ed82638 Mon Sep 17 00:00:00 2001
From: Marc Espie <espie@openbsd.org>
Date: Sun, 12 Nov 2000 14:06:23 +0000
Subject: [PATCH] configure.in: Fix filds test.

	* configure.in: Fix filds test.
	* configure: Regen.

From-SVN: r37406
---
 gcc/ChangeLog    | 4 ++++
 gcc/configure    | 2 +-
 gcc/configure.in | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 26e35f1ada06..f4697a05066d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-12  Marc Espie <espie@openbsd.org>
+	* configure.in: Fix filds test.
+	* configure: Regen.
+
 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
 
 	* jump.c (delete_computation): Don't assume that just becuase an
diff --git a/gcc/configure b/gcc/configure
index f00d1523b3d3..3f57a9ecf6c2 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -9345,7 +9345,7 @@ echo "configure:9329: checking assembler instructions" >&5
     fi
     if test x"$gcc_cv_as_instructions" != x; then
 	cat >> confdefs.h <<EOF
-#define HAVE_GAS_`echo "$gcc_cv_as_instructions" | tr 'a-z ' 'A-Z_'` 1
+#define HAVE_GAS_`echo "$gcc_cv_as_instructions" | sed -e 's/ $//' | tr 'a-z ' 'A-Z_'` 1
 EOF
 
     fi
diff --git a/gcc/configure.in b/gcc/configure.in
index 0e12bb5d4182..2353804fcb77 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -4809,7 +4809,7 @@ changequote([,])dnl
 	rm -f conftest.s conftest.o
     fi
     if test x"$gcc_cv_as_instructions" != x; then
-	AC_DEFINE_UNQUOTED(HAVE_GAS_`echo "$gcc_cv_as_instructions" | tr '[a-z ]' '[A-Z_]'`)
+	AC_DEFINE_UNQUOTED(HAVE_GAS_`echo "$gcc_cv_as_instructions" | sed -e 's/ $//' | tr '[a-z ]' '[A-Z_]'`)
     fi
     AC_MSG_RESULT($gcc_cv_as_instructions)
     ;;
-- 
GitLab