]> Pileus Git - ~andy/gtk/commitdiff
Remove bashisms from configure.ac
authorMatthias Clasen <mclasen@redhat.com>
Tue, 28 Dec 2010 00:24:05 +0000 (19:24 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 Dec 2010 00:24:05 +0000 (19:24 -0500)
Pointed out by Koop Mast in
https://bugzilla.gnome.org/show_bug.cgi?id=637974

configure.ac

index 7be4641320793c16d2e5833a421fb82bdeadb0a2..a90f7d11a6940e77f0a2b0cdd0c2c9af610498d7 100644 (file)
@@ -1520,16 +1520,16 @@ _______EOF
 ],[
 gdk_windowing=''
 if expr "$gdktarget" : ".*x11.*" > /dev/null ; then
-  gdk_windowing+='
+  gdk_windowing='$gdk_windowing
 #define GDK_WINDOWING_X11'
 fi
 if expr "$gdktarget" : ".*win32.*" > /dev/null ; then
-  gdk_windowing+='
+  gdk_windowing='$gdk_windowing
 #define GDK_NATIVE_WINDOW_POINTER
 #define GDK_WINDOWING_WIN32'
 fi
 if expr "$gdktarget" : ".*quartz.*" > /dev/null ; then
-  gdk_windowing='
+  gdk_windowing='$gdk_windowing
 #define GDK_WINDOWING_QUARTZ'
 fi
 ])
@@ -1551,7 +1551,7 @@ AC_ARG_ENABLE(Bsymbolic,
                            enable_Bsymbolic=no)
                LDFLAGS="${SAVED_LDFLAGS}"])
 
-if test "x${enable_Bsymbolic}" == "xyes"; then
+if test "x${enable_Bsymbolic}" = "xyes" ; then
   GTK_LINK_FLAGS=-Wl,-Bsymbolic-functions
 fi
 AC_SUBST(GTK_LINK_FLAGS)