aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Webster <miketwebster@gmail.com>2017-06-20 11:20:35 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-20 11:20:35 +0200
commit552dd36c2c012642643cba5692cb90c2300e4dd2 (patch)
treee331b69f2bb8dec0373aeab5818992fe50f42880 /configure.ac
parent434484b5f0b14c797145666efaefff4c6602c5c5 (diff)
downloadarctica-greeter-552dd36c2c012642643cba5692cb90c2300e4dd2.tar.gz
arctica-greeter-552dd36c2c012642643cba5692cb90c2300e4dd2.tar.bz2
arctica-greeter-552dd36c2c012642643cba5692cb90c2300e4dd2.zip
Fix prompt display in gtk3 > 3.20 (ported from slick-greeter)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9176db7..2b20692 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,16 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", Gettext package)
AC_SUBST(GETTEXT_PACKAGE)
dnl ###########################################################################
+dnl Check for GTK version - 3.20
+dnl ###########################################################################
+
+PKG_CHECK_MODULES(GTK_3_20_0, gtk+-3.0 >= 3.20.0 , gtk_check_pass=yes, gtk_check_pass=no)
+if test x$gtk_check_pass = xyes ; then
+ AM_VALAFLAGS="$AM_VALAFLAGS -D HAVE_GTK_3_20_0"
+ AC_SUBST([AM_VALAFLAGS])
+fi
+
+dnl ###########################################################################
dnl Files to generate
dnl ###########################################################################