check for optional gtk3 support

This commit is contained in:
Landry Breuil
2014-12-08 20:47:52 +01:00
parent f9a92302a5
commit f327226643

View File

@@ -75,6 +75,10 @@ XDT_CHECK_OPTIONAL_PACKAGE([WNCK], [libwnck-1.0], [2.0], [wnck], [building with
AM_CONDITIONAL([HAVE_WNCK], [test x"$WNCK_FOUND" = x"yes"]) AM_CONDITIONAL([HAVE_WNCK], [test x"$WNCK_FOUND" = x"yes"])
XDT_CHECK_OPTIONAL_PACKAGE([GKSU], [libgksu2], [2.0], [gksu], [building with libgksu to run as root], [yes]) XDT_CHECK_OPTIONAL_PACKAGE([GKSU], [libgksu2], [2.0], [gksu], [building with libgksu to run as root], [yes])
AM_CONDITIONAL([HAVE_GKSU], [test x"$GKSU_FOUND" = x"yes"]) AM_CONDITIONAL([HAVE_GKSU], [test x"$GKSU_FOUND" = x"yes"])
XDT_CHECK_OPTIONAL_PACKAGE([GTK3],
[gtk+-3.0], [3.2.0], [gtk3],
[GTK+ 3 support], [no])
AM_CONDITIONAL([USE_GTK3], [test "x$GTK3_FOUND" = "xyes"])
dnl *********************************** dnl ***********************************
dnl ********** Check for skel ********* dnl ********** Check for skel *********
@@ -151,7 +155,11 @@ echo
echo "* Gksu: ${GKSU_VERSION:-no}" echo "* Gksu: ${GKSU_VERSION:-no}"
echo "* Wnck: ${WNCK_VERSION:-no}" echo "* Wnck: ${WNCK_VERSION:-no}"
echo "* Cairo: ${CAIRO_VERSION}" echo "* Cairo: ${CAIRO_VERSION}"
if test "x$GTK3_FOUND" = "xyes" ; then
echo "* GTK+: ${GTK3_VERSION}"
else
echo "* GTK+: ${GTK_VERSION}" echo "* GTK+: ${GTK_VERSION}"
fi
echo "* Target OS: $target_os ($ac_os_implementation)" echo "* Target OS: $target_os ($ac_os_implementation)"
echo "* Debug: $enable_debug" echo "* Debug: $enable_debug"
echo echo