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]

portability fix for configure.in


test a == b is not portable shell script.

zw

	* configure.in: Use 'test a = b' not 'test a == b'.
	* configure: Regen.

===================================================================
Index: configure.in
--- configure.in	2000/06/19 17:23:54	1.393
+++ configure.in	2000/06/21 00:26:45
@@ -4117,7 +4117,7 @@ AC_ARG_ENABLE(nls,
 # if cross compiling, disable NLS support.
 # It's not worth the trouble, at least for now.
 
-if test "${build}" != "${host}" && test "x$enable_nls" == "xyes"; then
+if test "${build}" != "${host}" && test "x$enable_nls" = "xyes"; then
   AC_MSG_WARN(Disabling NLS support for canadian cross compiler.)
   enable_nls=no
 fi

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