This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Patch to use CXX_libstdcxx breaks V3


On Nov  5, 2000, Mark Mitchell <mark@codesourcery.com> wrote:

> I think that adding:

>   CXX_libstdcxx=$CXX

> right before AC_CHECK_PROGS should fix it; I'm going to try that.

With this change, it is safe to remove CXX from the list of PROGS to
CHECK for.  I'm checking this in:

Index: libstdc++-v3/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
	alternatives for CXX_libstdcxx, now that it is useless.
	* aclocal.m4, configure: Rebuilt.

Index: libstdc++-v3/acinclude.m4
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/acinclude.m4,v
retrieving revision 1.85
diff -u -p -r1.85 acinclude.m4
--- libstdc++-v3/acinclude.m4 2000/11/05 02:38:53 1.85
+++ libstdc++-v3/acinclude.m4 2000/11/07 01:46:13
@@ -93,7 +93,7 @@ AC_PROVIDE([AC_PROG_CXX])
 # from those used for all other target libraries.  If CXX is set in
 # the environment, respect that here.
 CXX_libstdcxx=$CXX
-AC_CHECK_PROGS(CXX_libstdcxx, "$CXX" "$CCC" c++ g++ gcc CC cxx cc++, gcc)
+AC_CHECK_PROGS(CXX_libstdcxx, $CCC c++ g++ gcc CC cxx cc++, gcc)
 CXX=$CXX_libstdcxx
 AC_SUBST(CXX)
 test -z "$CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH])

-- 
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]