Adjust the C++ preprocessor to include /usr/include/c++ by default for
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 7 Apr 2004 14:02:41 +0000 (14:02 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 7 Apr 2004 14:02:41 +0000 (14:02 +0000)
commit6bc3147f8de4616c21e58dad9f47a91cf9bd624d
tree376b00bf9040f3f92e2a6efb98f8845d18a3f30c
parentdb2e9f2874b2b4476ad928c2cacc194196d382f2
Adjust the C++ preprocessor to include /usr/include/c++ by default for
version independent C++ header files.

For GCC 2.95 this is done by adding a new define GPLUSPLUS_INCLUDE_DIR2,
for GCC 3.3 the version depend path is now included in
GPLUSPLUS_TOOL_INCLUDE_DIR and the version independ path in
GPLUSPLUS_INCLUDE_DIR. If the compiler is updated, it should be checked
that /usr/include/c++/$CCVER is still included before /usr/include/c++.
contrib/gcc/cccp.c
contrib/gcc/cppinit.c
contrib/gcc/install.texi
contrib/gcc/protoize.c
contrib/gcc/tm.texi
gnu/usr.bin/cc/cc_tools/dragonfly-native.h
gnu/usr.bin/cc/cc_tools/freebsd-native.h
gnu/usr.bin/cc3/cc_tools/dragonfly-native.h