* configure.in: Define eglib_dir.
* Makefile.am: Add eglib to subdirectory lists.
svn path=/trunk/mono/; revision=92299
+2008-01-05 Andreas Faerber <andreas.faerber@web.de>
+
+ * configure.in: Define eglib_dir.
+ * Makefile.am: Add eglib to subdirectory lists.
+
2007-12-31 Jonathan Chambers <joncham@gmail.com>
* winconfig.h: Define HAVE_GETPROCESSID.
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I .
-SUBDIRS = $(libgc_dir) mono $(ikvm_native_dir) support docs data runtime scripts man samples web msvc
+SUBDIRS = $(libgc_dir) $(eglib_dir) mono $(ikvm_native_dir) support docs data runtime scripts man samples web msvc
# Keep in sync with SUBDIRS
## 'tools' is not normally built
-DIST_SUBDIRS = libgc mono ikvm-native support docs data runtime scripts man samples web tools msvc
+DIST_SUBDIRS = libgc eglib mono ikvm-native support docs data runtime scripts man samples web tools msvc
EXTRA_DIST= mono-uninstalled.pc.in LICENSE
[ --with-glib=embedded|system Choose glib API: system or embedded (default to system)],
[], [with_glib=system])
+eglib_dir=
+
case $with_glib in
embedded)
GLIB_CFLAGS='-I$(top_srcdir)/eglib/src'
BUILD_GLIB_LIBS="$GLIB_LIBS"
GMODULE_CFLAGS="$GLIB_CFLAGS"
GMODULE_LIBS="$GLIB_LIBS"
+ eglib_dir=eglib
AC_CONFIG_SUBDIRS(eglib)
;;
system)
AC_SUBST(GMODULE_LIBS)
AC_SUBST(BUILD_GLIB_CFLAGS)
AC_SUBST(BUILD_GLIB_LIBS)
+AC_SUBST(eglib_dir)
if test x$cross_compiling$platform_win32 = xnoyes; then
AC_MSG_CHECKING(for cygwin glib2-dev package)