Fix equality testing for test(1) on FreeBSD
authorGabor Pali <pali.gabor@gmail.com>
Wed, 8 Feb 2012 17:30:38 +0000 (17:30 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 10 Feb 2012 21:56:58 +0000 (21:56 +0000)
configure.ac

index 84f0849..0ee3969 100644 (file)
@@ -352,7 +352,7 @@ if test "$build" != "$host" ; then
     PortingCompiler=YES
 fi
 # Note: cross_compiling is set to 'yes' in both 'port' and 'toolchain' cases
-if ! test "$host" == "$target" -o "$host" == "$build" ; then
+if ! test "$host" = "$target" -o "$host" = "$build" ; then
    AC_MSG_ERROR([
 You've selected: