OSDN Git Service

* Makefile.in (install-headers): Remove redundant dependency.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / tests_flags.in
index 5821dd5..9377844 100644 (file)
@@ -56,7 +56,7 @@ check_options() {
     
     # Then, see if we understand the job we're asked for
     case $2 in
-       --compiler|--built-library|--installed-library)
+       --compiler | --built-library | --installed-library)
        # OK
        ;;
        *) 
@@ -108,7 +108,7 @@ case ${query} in
                 -I${SRC_DIR}/include/std  -I${SRC_DIR}/include/$C_DIR
                -I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio 
                -I${SRC_DIR}/testsuite"
-      if test x@xcompiling@ == x1; then
+      if test x@xcompiling@ = x1; then
         INCLUDES="${INCLUDES} -I${SRC_DIR}/../newlib/libc/include"
       fi
       ;;
@@ -132,7 +132,7 @@ case ${query} in
     --built-library)
       LIB_PATH=${BUILD_DIR}/src
       GCC_LIB_PATH=${BUILD_DIR}/../../gcc
-      CXX="${BUILD_DIR}/../../gcc/g++ -B${BUILD_DIR}/../../gcc/"
+      CXX='@glibcpp_CXX@'
       ;;
     --installed-library)
       LIB_PATH=${PREFIX_DIR}/lib
@@ -160,7 +160,7 @@ case ${query} in
     esac
     ;;
     --installed-library)
-       LIBS="${LIB_PATH}/libstdc++.la -no-install -rpath ${GCC_LIB_PATH}"
+       LIBS="${LIB_PATH}/libstdc++.la -no-install -rpath ${LIB_PATH}"
        ;;
 esac