This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] version c++ includes, 2/2
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Tue, 25 Jun 2002 23:47:50 -0700
- Subject: [v3] version c++ includes, 2/2
... this is the toplevel change, part two. I'm assuming I need a nod
from you Alexandre.
2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
* config.if (libstdcxx_incdir): Version C++ headers.
(cxx_incdir): Remove.
Index: config.if
===================================================================
RCS file: /cvs/gcc/gcc/config.if,v
retrieving revision 1.7
diff -c -p -r1.7 config.if
*** config.if 5 Feb 2001 11:02:20 -0000 1.7
--- config.if 26 Jun 2002 06:40:29 -0000
***************
*** 3,10 ****
# determine:
#
# 1. libstcxx_interface: the interface name for libstdc++.
! # 2. cxx_interface: the interface name for c++.
! # 3. libc_interface: the interface name for libc.
#
# Get the top level src dir.
--- 3,9 ----
# determine:
#
# 1. libstcxx_interface: the interface name for libstdc++.
! # 2. libc_interface: the interface name for libc.
#
# Get the top level src dir.
*************** fi
*** 23,32 ****
libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3
# We check libstdc++-v3/configure.in for libstdcxx_interface.
! libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/configure.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
! libstdcxx_incdir=g++-${libstdcxx_interface}
! # Used to version libstdc++ shared libraries
! cxx_interface=2
# The trickiest part is libc_interface.
if [ -z "${libc_interface}" ]
--- 22,29 ----
libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3
# We check libstdc++-v3/configure.in for libstdcxx_interface.
! libstdcxx_interface=`grep "^release_VERSION" ${libstdcxx_srcdir}/configure.in | sed 's/release_VERSION[ ]*=[ ]*\(.*\)/\1/'`
! libstdcxx_incdir=c++/${libstdcxx_interface}
# The trickiest part is libc_interface.
if [ -z "${libc_interface}" ]