From 1441cfd98cc7f1d63b187d4c338a0b88f53124e6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 23 Feb 2010 14:40:44 +0100 Subject: configure.ac fussiness --- configure.ac | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1d4b58c0..e8365f03 100644 --- a/configure.ac +++ b/configure.ac @@ -61,14 +61,15 @@ AS_IF([test "x$enable_gtk" != "xno"], [ AC_MSG_RESULT([yes]) AM_PATH_GTK_2_0(2.0.0, - [ - havegtk=true - haveglib=true - AC_DEFINE([HAVE_GLIB], [1], [Define to 1 if GLib is available]) - GTK_LIBS="$GTK_LIBS -lgthread-2.0 -lutil" - ], + [ + havegtk=true + haveglib=true + AC_DEFINE([HAVE_GLIB], [1], [Define to 1 if GLib is available]) + GTK_LIBS="$GTK_LIBS -lgthread-2.0 -lutil" + ], + [ AC_MSG_WARN([GTK not found. hdfsee will not be built.]) - ) + ]) ], [ AC_MSG_RESULT([no]) -- cgit v1.2.3