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 | 9 +++++---- configure.ac | 15 ++++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/configure b/configure index 44de3e3c..32881f22 100755 --- a/configure +++ b/configure @@ -5380,14 +5380,14 @@ fi { $as_echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } - havegtk=true - haveglib=true + havegtk=true + haveglib=true cat >>confdefs.h <<\_ACEOF #define HAVE_GLIB 1 _ACEOF - GTK_LIBS="$GTK_LIBS -lgthread-2.0 -lutil" + GTK_LIBS="$GTK_LIBS -lgthread-2.0 -lutil" else { $as_echo "$as_me:$LINENO: result: no" >&5 @@ -5469,7 +5469,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ fi GTK_CFLAGS="" GTK_LIBS="" - { $as_echo "$as_me:$LINENO: WARNING: GTK not found. hdfsee will not be built." >&5 + + { $as_echo "$as_me:$LINENO: WARNING: GTK not found. hdfsee will not be built." >&5 $as_echo "$as_me: WARNING: GTK not found. hdfsee will not be built." >&2;} fi 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