PATCH: gcc/configure filds test is broken
Marc Espie
espie@schutzenberger.liafa.jussieu.fr
Sat Nov 11 15:01:00 GMT 2000
Jason,
your patch to configure.in to fix --enable-threads may have
fixed your problem, but you should have tried to check it on a
platform that DOES need that test.
Put simply, you overlooked the space at the end of the variable, and
hence the test NEVER had a chance to be true.
I lost three hours tracking this thru other parts of the compiler,
even annoying rth in the process, thinking his fine code was the culprit.
Here is a fix-up patch:
Sun Nov 12 00:00:35 CET 2000 Marc Espie <espie@openbsd.org>
* configure.in: Fix filds test.
* configure: Regen.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure.in,v
retrieving revision 1.446
diff -c -r1.446 configure.in
*** configure.in 2000/11/10 17:23:06 1.446
--- configure.in 2000/11/11 22:56:31
***************
*** 4809,4815 ****
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_]'`)
fi
AC_MSG_RESULT($gcc_cv_as_instructions)
;;
--- 4809,4815 ----
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" | sed -e 's/ $//' | tr '[a-z ]' '[A-Z_]'`)
fi
AC_MSG_RESULT($gcc_cv_as_instructions)
;;
More information about the Gcc-patches
mailing list