# 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
;;
*)
-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
;;
--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
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