This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Further on gcc-3.0 sparc-solaris bootstrap failure


On Jun  8, 2001, Stephen L Moshier <moshier@mediaone.net> wrote:

> On 8 Jun 2001, Alexandre Oliva wrote:

>> The blank line contains AC_EXEEXT in configure.in.  Since AC_EXEEXT is
>> run by default by default by autoconf 2.50, the duplicate expands to
>> nothing, which breaks.

>> As for GCC, we should probably add a line containing `:' inside the
>> conditional, so that it works with autoconf 2.50

> Here is a patch --

>        * libobjc/configure.in (AC_EXEEXT):  Precede by placeholder ':' command.

Thanks.  I decided to got a bit further and comment on the reason
behind it, and fixed other libraries affected by the same problem.
Mark, is this something we want in the 3.0 branch too?  It's only
necessary for additional (but still incomplete) compatibility with
autoconf 2.50.  I'm checking it in in mainline for now.

Index: libobjc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>

	* configure.in (AC_EXEEXT): Work around in case it expands to
	nothing, as in autoconf 2.50.
	* acinclude.m4: Likewise.
	* configure: Rebuilt.

Index: libobjc/configure.in
===================================================================
RCS file: /cvs/gcc/egcs/libobjc/configure.in,v
retrieving revision 1.14
diff -u -p -r1.14 configure.in
--- libobjc/configure.in 2001/02/09 07:14:34 1.14
+++ libobjc/configure.in 2001/06/09 20:24:49
@@ -91,6 +91,10 @@ AC_PROG_INSTALL
 # automake happy, but we dont execute it, since we dont 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
 
Index: libstdc++-v3/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>

	* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
	nothing, as in autoconf 2.50.
	* configure: Rebuilt.

Index: libstdc++-v3/acinclude.m4
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/acinclude.m4,v
retrieving revision 1.152
diff -u -p -r1.152 acinclude.m4
--- libstdc++-v3/acinclude.m4 2001/06/09 06:49:12 1.152
+++ libstdc++-v3/acinclude.m4 2001/06/09 20:24:50
@@ -129,6 +129,10 @@ LIB_AC_PROG_CXX
   # automake happy, but we dont execute it, since we dont 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
 
Index: zlib/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>

	* configure.in (AC_EXEEXT): Work around in case it expands to
	nothing, as in autoconf 2.50.
	* configure: Rebuilt.

Index: zlib/configure.in
===================================================================
RCS file: /cvs/gcc/egcs/zlib/configure.in,v
retrieving revision 1.10
diff -u -p -r1.10 configure.in
--- zlib/configure.in 2001/05/13 22:31:24 1.10
+++ zlib/configure.in 2001/06/09 20:24:50
@@ -56,6 +56,10 @@ LIB_AC_PROG_CC
 # automake happy, but we dont execute it, since we dont 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
 AM_PROG_LIBTOOL
Index: boehm-gc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>

	* configure.in (AC_EXEEXT): Work around in case it expands to
	nothing, as in autoconf 2.50.
	* configure: Rebuilt.

Index: boehm-gc/acinclude.m4
===================================================================
RCS file: /cvs/gcc/egcs/boehm-gc/acinclude.m4,v
retrieving revision 1.11
diff -u -p -r1.11 acinclude.m4
--- boehm-gc/acinclude.m4 2001/06/08 17:59:57 1.11
+++ boehm-gc/acinclude.m4 2001/06/09 20:24:50
@@ -137,6 +137,10 @@ AM_MAINTAINER_MODE
 # 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
 
Index: boehm-gc/configure.in
===================================================================
RCS file: /cvs/gcc/egcs/boehm-gc/configure.in,v
retrieving revision 1.25
diff -u -p -r1.25 configure.in
--- boehm-gc/configure.in 2001/06/08 17:59:57 1.25
+++ boehm-gc/configure.in 2001/06/09 20:24:50
@@ -17,8 +17,12 @@ AM_MAINTAINER_MODE
 # automake wants to see AC_EXEEXT.  But we don't need it.  And having
 # it is actually a problem, because the compiler we're passed can't
 # necessarily do a full link.  So we fool automake here.
-if test "x" = "y"; then
-   AC_EXEEXT
+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
 
 AC_MSG_CHECKING([for thread model used by GCC])
Index: libjava/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>

	* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
	nothing, as in autoconf 2.50.
	* configure: Rebuilt.

Index: libjava/acinclude.m4
===================================================================
RCS file: /cvs/gcc/egcs/libjava/acinclude.m4,v
retrieving revision 1.8
diff -u -p -r1.8 acinclude.m4
--- libjava/acinclude.m4 2001/06/08 18:02:02 1.8
+++ libjava/acinclude.m4 2001/06/09 20:24:51
@@ -67,6 +67,10 @@ AM_MAINTAINER_MODE
 # automake happy, but we dont execute it, since we dont 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
 

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]