aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-23 14:40:44 +0100
committerThomas White <taw@physics.org>2010-02-23 14:40:44 +0100
commit1441cfd98cc7f1d63b187d4c338a0b88f53124e6 (patch)
treed9d88a6543677b03ac78386e08d3fbf5a750e488
parent25e8333f0ccf82e52ac74671a2c987dc31ad2291 (diff)
configure.ac fussiness
-rwxr-xr-xconfigure9
-rw-r--r--configure.ac15
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])