gst-error.m4: Don't use == for comparisons in shell scripts
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 25 May 2010 18:01:47 +0000 (20:01 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 25 May 2010 18:01:47 +0000 (20:01 +0200)
This only works with bash and not strictly POSIX compatible shells.

m4/gst-error.m4

index 6df7312..ce06d30 100644 (file)
@@ -54,7 +54,7 @@ AC_DEFUN([AG_GST_SET_ERROR_CFLAGS],
     AS_COMPILER_FLAG(-Werror, ERROR_CFLAGS="$ERROR_CFLAGS -Werror")
 
     dnl if -Werror isn't suported, try -errwarn=%all (Sun Forte case)
-    if test "x$ERROR_CFLAGS" == "x"
+    if test "x$ERROR_CFLAGS" = "x"
     then
       AS_COMPILER_FLAG([-errwarn=%all], [
           ERROR_CFLAGS="-errwarn=%all"