From 343a04ebadbfd04b29cf17ae3ed5b9cf890c2c35 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 27 Aug 2012 18:51:58 +0000 Subject: trying to improve gtk detection --- configure.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 06c4469..17647a9 100644 --- a/configure.ac +++ b/configure.ac @@ -483,12 +483,12 @@ AC_ARG_WITH(gtk_version, without_gtk=false if test "x$check_for_3" != "xfalse" then - AM_PATH_GTK_3_0([$check_for_3],without_gtk=false,) + AM_PATH_GTK_3_0([$check_for_3],without_gtk=false,without_gtk=true) fi if test "x$without_gtk" == "xfalse" -a "x$check_for_2" != "xfalse" then - AM_PATH_GTK_2_0([$check_for_2],without_gtk=false,) + AM_PATH_GTK_2_0([$check_for_2],without_gtk=false,without_gtk=true) fi AM_CONDITIONAL(HAVE_GTK, test x$without_gtk != xtrue) @@ -703,3 +703,8 @@ then else AC_MSG_NOTICE([NOTICE: gstreamer not found, gstreamer support disabled]) fi + +if test $without_gtk != false +then + AC_MSG_NOTICE([NOTICE: gtk+ not found, gtk support disabled]) +fi -- cgit v1.2.3