summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 52ae1a7fe..4fd8f39c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -680,7 +680,7 @@ else
# Check whether we are using the X11 backend for Gtk+ 2.
AC_MSG_CHECKING([if Gtk+ 2.0 is using the X11 backend target])
- if test `$PKG_CONFIG --variable=target gtk+-2.0`; then
+ if test "x`$PKG_CONFIG --variable=target gtk+-2.0`" = "xx11"; then
have_x11=yes
else
have_x11=no