summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-20 05:35:38 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-20 05:35:38 +0000
commit1c62e7ed6ef51305a5a625ee070de8d2428c4e9a (patch)
treeebfd945337de87df04056134bd1ce362fecd45de /acinclude.m4
parent76e6160da25b72dc8d73a508e9efc4a487cfd8d0 (diff)
Add embedded GLib directory
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
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")