summaryrefslogtreecommitdiff
path: root/libstdc++-v3/mkcheck.in
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-26 07:28:25 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-26 07:28:25 +0000
commita451a37b31ac6890ec8cd853f73a931be0ce9700 (patch)
tree404ab9777c883f211f32a764fa3b7d9c9df52940 /libstdc++-v3/mkcheck.in
parent3f0f2b0444c2597fac9fecd617f5285554f1bea1 (diff)
downloadgcc-a451a37b31ac6890ec8cd853f73a931be0ce9700.tar.gz
* Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
* configure.in (enable-libstdcxx-v3): Arrange to have HAVE_LIBSTDCXX_V3 substituted into the output files. * lib/g++.exp (g++_include_flags): Trust HAVE_LIBSTDCXX_V3 to tell us whether or not we are using V3. * Makefile.in (check): Don't make mkcheck executable. (check-install): Likewise. * configure.in (AC_OUTPUT): Make mkcheck executable. * mkcheck.in (top_srcdir): New variable. (INC_PATH): Set the path to the backward and ext directories correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/mkcheck.in')
-rwxr-xr-xlibstdc++-v3/mkcheck.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/mkcheck.in b/libstdc++-v3/mkcheck.in
index ac74673bf02..a2e4e15fc4c 100755
--- a/libstdc++-v3/mkcheck.in
+++ b/libstdc++-v3/mkcheck.in
@@ -54,6 +54,7 @@ if [ $WHICH -eq 1 ]; then
fi
# INC_PATH == include path to new headers for use on gcc command-line
+top_srcdir=@top_srcdir@
C_DIR="`basename @C_INCLUDE_DIR@`"
if [ $WHICH != "1" ]; then
INC_PATH="@CSHADOW_FLAGS@ -I$BUILD_DIR -I$BUILD_DIR/libio \
@@ -65,7 +66,7 @@ elif [ $WHICH -eq 1 ]; then
fi
if [ $WHICH -eq 2 ]; then
- echo $INC_PATH -I$SRC_DIR/backward -I$SRC_DIR/ext
+ echo $INC_PATH -I$SRC_DIR/include/backward -I$SRC_DIR/include/ext
exit 0;
fi