This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Remove bogus constructs from boehm-gc configure
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Feb 2004 13:30:56 -0500
- Subject: [committed] Remove bogus constructs from boehm-gc configure
Committed.
* acinclude.m4: Remove obsolete and bogus constructs.
* aclocal.m4: Regenerate.
* configure: Regnerate.
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/acinclude.m4,v
retrieving revision 1.22
diff -u -r1.22 acinclude.m4
--- acinclude.m4 25 Feb 2004 21:26:22 -0000 1.22
+++ acinclude.m4 26 Feb 2004 18:29:36 -0000
@@ -41,21 +41,6 @@
AM_MAINTAINER_MODE
-# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
-# at least currently, we never actually build a program, so we never
-# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
-# fails, because we are probably configuring with a cross compiler
-# which can't create executables. So we include AC_EXEEXT to keep
-# automake happy, but we don't execute it, since we don't care about
-# the result.
-if false; then
- # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
- # to nothing, so nothing would remain between `then' and `fi' if it
- # were not for the `:' below.
- :
- AC_EXEEXT
-fi
-
. [$]{srcdir}/configure.host
case [$]{gc_basedir} in
@@ -74,9 +59,7 @@
GC_CFLAGS=${gc_cflags}
AC_SUBST(GC_CFLAGS)
-]))
-
-))))
+])
sinclude(../libtool.m4)
dnl The line below arranges for aclocal not to bring a definition of
Index: aclocal.m4
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/aclocal.m4,v
retrieving revision 1.25
diff -u -r1.25 aclocal.m4
--- aclocal.m4 25 Feb 2004 21:26:22 -0000 1.25
+++ aclocal.m4 26 Feb 2004 18:29:36 -0000
@@ -53,21 +53,6 @@
AM_MAINTAINER_MODE
-# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
-# at least currently, we never actually build a program, so we never
-# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
-# fails, because we are probably configuring with a cross compiler
-# which can't create executables. So we include AC_EXEEXT to keep
-# automake happy, but we don't execute it, since we don't care about
-# the result.
-if false; then
- # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
- # to nothing, so nothing would remain between `then' and `fi' if it
- # were not for the `:' below.
- :
- AC_EXEEXT
-fi
-
. [$]{srcdir}/configure.host
case [$]{gc_basedir} in
@@ -86,9 +71,7 @@
GC_CFLAGS=${gc_cflags}
AC_SUBST(GC_CFLAGS)
-]))
-
-))))
+])
sinclude(../libtool.m4)
dnl The line below arranges for aclocal not to bring a definition of
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/configure,v
retrieving revision 1.71
diff -u -r1.71 configure
--- configure 25 Feb 2004 21:26:22 -0000 1.71
+++ configure 26 Feb 2004 18:29:41 -0000
@@ -3393,21 +3393,6 @@
-# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
-# at least currently, we never actually build a program, so we never
-# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
-# fails, because we are probably configuring with a cross compiler
-# which can't create executables. So we include AC_EXEEXT to keep
-# automake happy, but we don't execute it, since we don't care about
-# the result.
-if false; then
- # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
- # to nothing, so nothing would remain between `then' and `fi' if it
- # were not for the `:' below.
- :
-
-fi
-
. ${srcdir}/configure.host
case ${gc_basedir} in
@@ -3833,6 +3818,7 @@
+
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
# Only perform the check for file, if the check method requires it
@@ -4168,7 +4154,7 @@
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4171 "configure"' > conftest.$ac_ext
+ echo '#line 4157 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
--
Nathanael Nerode <neroden at gcc.gnu.org>
US citizens: if you're considering voting for Bush, look at these first:
http://www.misleader.org/ http://www.cbc.ca/news/background/arar/
http://www.house.gov/reform/min/politicsandscience/