Commit 1441cfd9 authored by Thomas White's avatar Thomas White
Browse files

configure.ac fussiness

parent 25e8333f
......@@ -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
......
......@@ -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])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment