mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
Remove GLib dependency WIP
Add a shim implementing half-assed versions of most of the GLib functions used by MDB Tools. If GLib is detected at compile-time, use it, otherwise use the shim. This work is not complete, as the option-parsing code is not yet implemented - so most of the command-line tools crash.
This commit is contained in:
@@ -146,11 +146,10 @@ fi
|
||||
|
||||
|
||||
dnl check for glib/gtk/gnome
|
||||
PKG_CHECK_MODULES([GLIB], [glib-2.0], ,
|
||||
AC_MSG_ERROR([
|
||||
glib 2.0 is required by MDB Tools (runtime and devel).
|
||||
It can be downloaded at www.gtk.org.
|
||||
]))
|
||||
PKG_CHECK_MODULES([GLIB], [glib-2.0], AM_CONDITIONAL([HAVE_GLIB], true), AM_CONDITIONAL([HAVE_GLIB], false))
|
||||
if test "x$HAVE_GLIB" = "xtrue"; then
|
||||
GLIB_CFLAGS="$GLIB_CFLAGS -DHAVE_GLIB=1"
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES([GNOME], [gtk+-2.0 >= 2.14 libglade-2.0 libgnomeui-2.0], HAVE_GNOME=true, HAVE_GNOME=false)
|
||||
|
||||
|
Reference in New Issue
Block a user