summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0200ece..ef4c027 100644
--- a/configure.ac
+++ b/configure.ac
@@ -332,7 +332,7 @@ AC_SUBST(EOM_LIBS)
# *******************************************************
# Check GDK rendering target
-gdk_target=`$PKG_CONFIG --variable=target gdk-2.0`
+gdk_target=`$PKG_CONFIG --variable=target gdk-${GTK_API_VERSION}`
if test "x$have_lcms" = "xyes" || test "$gdk_target" = "x11"; then
PKG_CHECK_MODULES(X11, [x11], have_x11=yes, have_x11=no)