V3 PATCH to aclocal.m4
Benjamin Kosnik
bkoz@redhat.com
Thu Aug 23 11:21:00 GMT 2001
A couple of problems here Sir Jason
1) aclocal is autogenerated. Patch acinclude.m4
2) there is only one file that need the backwards includes for building,
and it has a special rule just so we don't have to cart around backwards
includes for everything.
see src/Makefile.am
# Use special rules for the deprecated source files so that they find
# deprecated include files.
GLIBCPP_INCLUDE_DIR=@glibcpp_builddir@/include
strstream.lo: strstream.cc
$(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
strstream.o: strstream.cc
$(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
3) testsuite_flags.in is what is used to export includes for non-library
use, like say the g++ testsuite. Perhaps you need this modified:
--build-includes)
INCLUDES="-nostdinc++ @GLIBCPP_INCLUDES@
-I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio
-I${SRC_DIR}/testsuite -I${BUILD_DIR}/testsuite"
echo ${INCLUDES}
Perhaps you could explain the problem you've found? I strongly encourage
the use of standards-conformant headers in the g++ testsuite, if this is
the issue.
-benjamin
More information about the Libstdc++
mailing list