From 1c62e7ed6ef51305a5a625ee070de8d2428c4e9a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 20 Jan 2007 05:35:38 +0000 Subject: Add embedded GLib directory --- acinclude.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 54fa7902..8abd3d29 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -269,12 +269,14 @@ AC_DEFUN([AC_ARG_BLUEZ], [ fi if (test "${glib_enable}" = "yes" && test "${glib_found}" = "yes"); then - AC_DEFINE(HAVE_GLIB, 1, [Define to 1 if you have GLib support.]) if (test "${dbus_glib_found}" = "yes"); then AC_DEFINE(HAVE_DBUS_GLIB, 1, [Define to 1 if you have D-Bus GLib bindings.]) DBUS_CFLAGS="$DBUS_CFLAGS $DBUS_GLIB_CFLAGS" DBUS_LIBS="$DBUS_GLIB_LIBS" fi + else + AC_SUBST([GLIB_CFLAGS], ['-I$(top_srcdir)/eglib']) + AC_SUBST([GLIB_LIBS], ['-L$(top_builddir)/eglib -leglib']) fi AM_CONDITIONAL(INOTIFY, test "${inotify_enable}" = "yes" && test "${inotify_found}" = "yes") -- cgit