Remove bashism from libstdc++-v3/tests_flags.in
Zack Weinberg
zackw@stanford.edu
Sun Apr 1 12:19:00 GMT 2001
test a == b works only with bash.
Patch applied as obvious bugfix. I have not personally tested it, but
Brad Lucier has.
zw
* tests_flags.in: Use test a = b, not test a == b which is not
portable.
===================================================================
Index: libstdc++-v3/tests_flags.in
--- libstdc++-v3/tests_flags.in 2001/03/30 21:59:12 1.16
+++ libstdc++-v3/tests_flags.in 2001/04/01 19:18:22
@@ -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
;;
More information about the Libstdc++
mailing list