This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
c++ version include, revised, 3/2 :-)
- From: Phil Edwards <phil at jaj dot com>
- To: gcc-patches at gcc dot gnu dot org, bkoz at redhat dot com
- Date: Fri, 28 Jun 2002 20:19:13 -0400
- Subject: c++ version include, revised, 3/2 :-)
The patch that went in recently to version the C++ header files didn't catch
all the places where --enable-version-specific-runtime-libs is used. Thus,
while installed libstdc++ headers were going into the correct directory,
the preprocessor was still looking for the old nonexistent one.
Tested on i686-linux (with --enable-version-specific-runtime-libs,
obviously, since this happens to be my default). Applied as an obvious
fix to both trunk and branch (since the c++-header-versioning patch is
also on both branches.)
2002-06-28 Phil Edwards <pme@gcc.gnu.org>
* configure.in (gcc_gxx_include_dir): Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.606
diff -u -3 -p -r1.606 configure.in
--- configure.in 19 Jun 2002 20:30:15 -0000 1.606
+++ configure.in 29 Jun 2002 00:17:03 -0000
@@ -167,7 +167,7 @@ esac])
if test x${gcc_gxx_include_dir} = x; then
if test x${enable_version_specific_runtime_libs} = xyes; then
- gcc_gxx_include_dir='${libsubdir}/include/g++'
+ gcc_gxx_include_dir='${libsubdir}/include/c++'
else
topsrcdir=${srcdir}/.. . ${srcdir}/../config.if
changequote(<<, >>)dnl