diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-31 09:17:33 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-31 09:17:33 +0800 |
commit | 3b9ea2d060d2705563950fb063532aff54b1a08c (patch) | |
tree | fa33ff724c4833f9158d9b63397c1500c2a2daea /configure.in | |
parent | b5ee9fc4243e93781e2061f42f1b0af62696b499 (diff) | |
download | gsoc2013-evolution-3b9ea2d060d2705563950fb063532aff54b1a08c.tar.gz gsoc2013-evolution-3b9ea2d060d2705563950fb063532aff54b1a08c.tar.zst gsoc2013-evolution-3b9ea2d060d2705563950fb063532aff54b1a08c.zip |
[Some initial broken support for building components as shlib. Mostly
just a playground for testing the idea.]
* Makefile.am: Added support for the ENABLE_SHLIB_COMPONENTS
conditional.
* GNOME_Evolution_Summary.oaf.in.in: New.
* e-summary-mail.c (update_folder_cb): Protect against
summary->mail being NULL.
* component-factory.c: Add a shlib factory.
(create_component): Get a @factory and @data.
(component_factory_init): Actually make it use a
BonoboGenericFactory again.
* configure.in: Add argument `--enable-shlib-components'. New
substitutions OAF_SHLIB_LOCATION, OAF_SHLIB_PREFIX,
OAF_SHLIB_SUFFIX.
svn path=/trunk/; revision=16299
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 46 |
1 files changed, 41 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 0bd89407b2..7beb9f6b46 100644 --- a/configure.in +++ b/configure.in @@ -568,6 +568,30 @@ fi AC_MSG_RESULT($with_broken_spool) +dnl *************************************************************** +dnl Whether to build shlib components (instead of out-of-proc ones) +dnl *************************************************************** + +AC_ARG_ENABLE(shlib-components, + [ --enable-shlib-components Enable building of some of the components as shared libs], + enable_shlib_components=yes,enable_shlib_components=no) + +AM_CONDITIONAL(ENABLE_SHLIB_COMPONENTS, test "x$enable_shlib_components" = "xyes") + +if test "x$enable_shlib_components" = "xyes" ; then + OAF_SHLIB_TYPE="shlib" + OAF_SHLIB_PREFIX="lib" + OAF_SHLIB_SUFFIX=".so" +else + OAF_SHLIB_TYPE="exe" + OAF_SHLIB_PREFIX="" + OAF_SHLIB_SUFFIX="" +fi + +AC_SUBST(OAF_SHLIB_TYPE) +AC_SUBST(OAF_SHLIB_PREFIX) +AC_SUBST(OAF_SHLIB_SUFFIX) + dnl *************** dnl GNOME Libraries dnl *************** @@ -1235,6 +1259,8 @@ widgets/e-timezone-dialog/Makefile widgets/menus/Makefile widgets/misc/Makefile wombat/Makefile + +my-evolution/GNOME_Evolution_Summary.oaf.in ]) if test "x$with_sub_version" != "x"; then @@ -1258,16 +1284,26 @@ echo "\ SSL support: $msg_ssl Dot Locking: $msg_dot File Locking: $msg_file - Gtk-doc: $enable_gtk_doc" + Gtk-doc: $enable_gtk_doc + Shlib components: $enable_shlib_components" if test x$enable_gtk_doc = xyes; then echo " - Programming documentation files will be built automatically. -" + Programming documentation files will be built automatically." else echo " Programming documentation files will not be built. You may want to install the gtk-doc package - so that you will get the Evolution Developer's Guide. -" + so that you will get the Evolution Developer's Guide." fi + +if test "x$enable_shlib_components" = "xyes" ; then + echo " + *** Warning, shlib components are currently broken. + *** Enabling this option will probably cause Evolution to not + *** work correctly. +" +else + echo " +" +fi
\ No newline at end of file |