This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Remove bashism from libstdc++-v3/tests_flags.in


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
       ;;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]