diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 8a5794a0df..1c5f0d1f07 100644 --- a/configure.in +++ b/configure.in @@ -891,16 +891,19 @@ dnl Mono hooks dnl This should just define mono CFLAGS etc here, it is used later to dnl turn on the mono plugin or not. +MONO_CFLAGS= +MONO_LIBS= AC_ARG_ENABLE([mono], AC_HELP_STRING([--enable-mono], [Add Mono embedded hooks.]), [enable_mono=$enableval],[enable_mono=no]) - if test "x${enable_mono}" = "xyes"; then + PKG_CHECK_MODULES(MONO, "mono") AC_DEFINE(ENABLE_MONO,1,[Define if Mono embedding should be enabled]) - mono_package="mono" MONO_PLUGIN="mono" fi +AC_SUBST(MONO_CFLAGS) +AC_SUBST(MONO_LIBS) dnl Python hooks dnl This should just define python CFLAGS etc here, it is used later to @@ -1493,7 +1496,7 @@ else E_UTIL_X11_CFLAGS="" E_UTIL_X11_LIBS="" fi -EVO_SET_COMPILE_FLAGS(E_UTIL, libbonoboui-2.0 libglade-2.0 libgnomeui-2.0 libedataserver-$EDS_PACKAGE libedataserverui-$EDS_PACKAGE camel-$EDS_PACKAGE $mozilla_nspr $mono_package, $THREADS_CFLAGS $MANUAL_NSPR_CFLAGS $E_UTIL_X11_CFLAGS, $THREADS_LIBS $MANUAL_NSPR_LIBS $E_UTIL_X11_LIBS) +EVO_SET_COMPILE_FLAGS(E_UTIL, libbonoboui-2.0 libglade-2.0 libgnomeui-2.0 libedataserver-$EDS_PACKAGE libedataserverui-$EDS_PACKAGE camel-$EDS_PACKAGE $mozilla_nspr $THREADS_CFLAGS $MANUAL_NSPR_CFLAGS $E_UTIL_X11_CFLAGS, $THREADS_LIBS $MANUAL_NSPR_LIBS $E_UTIL_X11_LIBS) AC_SUBST(E_UTIL_CFLAGS) AC_SUBST(E_UTIL_LIBS) @@ -2083,4 +2086,6 @@ echo "\ Plugins: $msg_plugins DBus API version: $FOUND_DBUS_VERSION User documentation: $with_help + Mono bindings: $enable_mono + Python bindings: $enable_python " |