]> Pileus Git - ~andy/gtk/commitdiff
test(1) uses '=' to test if strings are identical
authorPatrick Welche <prlw1@cam.ac.uk>
Wed, 10 Oct 2012 23:09:14 +0000 (00:09 +0100)
committerPatrick Welche <prlw1@cam.ac.uk>
Fri, 12 Oct 2012 13:40:07 +0000 (14:40 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=685996

configure.ac

index 8f5d8c402d93a067de2e7810fbd819c7938869e6..9e24e90d5ee840458584835aa3a5e2ae9faab94a 100644 (file)
@@ -383,7 +383,7 @@ else
 fi
 AC_SUBST(DISABLE_ON_QUARTZ)
 
-if test "x$enable_broadway_backend" == xyes; then
+if test "x$enable_broadway_backend" = xyes; then
   GDK_BACKENDS="$GDK_BACKENDS broadway"
   cairo_backends="$cairo_backends cairo"
   GDK_WINDOWING="$GDK_WINDOWING
@@ -394,8 +394,8 @@ else
   AM_CONDITIONAL(USE_BROADWAY, false)
 fi
 
-if test "x$enable_wayland_backend" == "xyes"; then
-  if test "x$enable_wayland_cairo_gl" == "xyes"; then
+if test "x$enable_wayland_backend" = "xyes"; then
+  if test "x$enable_wayland_cairo_gl" = "xyes"; then
     # Wayland can use cairo-gl
     cairo_backends="$cairo_backends cairo-gl"
     AC_DEFINE(GDK_WAYLAND_USE_EGL, [1], [Whether to use EGL in Wayland backend])
@@ -408,7 +408,7 @@ if test "x$enable_wayland_backend" == "xyes"; then
   GDK_WINDOWING="$GDK_WINDOWING
 #define GDK_WINDOWING_WAYLAND"
   WAYLAND_PACKAGES="wayland-client xkbcommon wayland-cursor"
-  if test "x$enable_wayland_cairo_gl" == "xyes"; then
+  if test "x$enable_wayland_cairo_gl" = "xyes"; then
     WAYLAND_PACKAGES="$WAYLAND_PACKAGES wayland-egl egl"
   fi
   AM_CONDITIONAL(USE_WAYLAND, true)