commit 343a04ebadbfd04b29cf17ae3ed5b9cf890c2c35
parent 0d6694b10ed5c3429f0b2d6f5d4b266fe1179435
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 27 Aug 2012 18:51:58 +0000
trying to improve gtk detection
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git 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