diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-01-25 07:16:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-01-25 07:16:18 +0800 |
commit | 4ba09274d6d393568a06c483bf4934ea4707a604 (patch) | |
tree | 8bb9f22fe18024c733e233f963c621c39ed460f4 /configure.in | |
parent | d656b69c9bd1de52d6991e1694fd4dcf9856951c (diff) | |
download | gsoc2013-evolution-4ba09274d6d393568a06c483bf4934ea4707a604.tar.gz gsoc2013-evolution-4ba09274d6d393568a06c483bf4934ea4707a604.tar.zst gsoc2013-evolution-4ba09274d6d393568a06c483bf4934ea4707a604.zip |
Clean up some of the Makefiles so we dont' link every library multiple
times, causing big libtool 1.4 pain.
svn path=/trunk/; revision=15461
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 55 |
1 files changed, 46 insertions, 9 deletions
diff --git a/configure.in b/configure.in index 1c07b471b1..a3c40eaf24 100644 --- a/configure.in +++ b/configure.in @@ -649,18 +649,55 @@ CAMEL_LIBS="`gnome-config --libs gal xml` $THREADS_LIBS" AC_SUBST(CAMEL_CFLAGS) AC_SUBST(CAMEL_LIBS) +AC_DEFUN(EVO_SET_COMPILE_FLAGS, [ + deps="$2" + extra_cflags="$3" + extra_libs="$4" + $1_CFLAGS="`gnome-config --cflags $deps` $extra_cflags" + $1_LIBS="`gnome-config --libs $deps` $extra_libs" +]) + +dnl --- evolution-addressbook flags + +EVOLUTION_ADDRESSBOOK_DEPS="bonobo_conf bonobox_print gdk_pixbuf gnomecanvaspixbuf gnomeui gtkhtml libglade oaf vfs" + +EVO_SET_COMPILE_FLAGS(EVOLUTION_ADDRESSBOOK, $EVOLUTION_ADDRESSBOOK_DEPS) +AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) +AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) + +EVO_SET_COMPILE_FLAGS(EVOLUTION_ADDRESSBOOK_CONDUIT, gpilot $EVOLUTION_ADDRESSBOOK_DEPS) +AC_SUBST(EVOLUTION_ADDRESSBOOK_CONDUIT_CFLAGS) +AC_SUBST(EVOLUTION_ADDRESSBOOK_CONDUIT_LIBS) + +dnl -- evolution-executive-summary flags + +EVO_SET_COMPILE_FLAGS(EVOLUTION_EXECUTIVE_SUMMARY, + bonobo_conf bonobox bonobox_print gal gdk_pixbuf gnomecanvaspixbuf gnomeui gtkhtml libglade oaf soup vfs) +AC_SUBST(EVOLUTION_EXECUTIVE_SUMMARY_CFLAGS) +AC_SUBST(EVOLUTION_EXECUTIVE_SUMMARY_LIBS) + +dnl --- evolution-calendar flags + +EVOLUTION_CALENDAR_DEPS="bonobo_conf bonobox bonobox_print gal gdk_pixbuf gnomecanvaspixbuf gnomeui gtkhtml libglade oaf vfs" + +EVO_SET_COMPILE_FLAGS(EVOLUTION_CALENDAR, $EVOLUTION_CALENDAR_DEPS) +AC_SUBST(EVOLUTION_CALENDAR_CFLAGS) +AC_SUBST(EVOLUTION_CALENDAR_LIBS) + +EVO_SET_COMPILE_FLAGS(EVOLUTION_CALENDAR_CONDUIT, gpilot $EVOLUTION_CALENDAR_DEPS) +AC_SUBST(EVOLUTION_CALENDAR_CONDUIT_CFLAGS) +AC_SUBST(EVOLUTION_CALENDAR_CONDUIT_LIBS) + +dnl --- evolution-mail flags + camel_providerdir='$(libdir)/evolution/camel-providers/'$EVOLUTION_MAJOR_VERSION.$EVOLUTION_MINOR_VERSION AC_SUBST(camel_providerdir) -MAILER_CFLAGS="`gnome-config --cflags gtkhtml libglade gdk_pixbuf gnomecanvaspixbuf gnomeui gal bonobo_conf bonobox bonobox_print vfs oaf` $THREADS_CFLAGS" -MAILER_LIBS="`gnome-config --libs gtkhtml libglade gdk_pixbuf gnomecanvaspixbuf gnomeui gal bonobo_conf bonobox bonobox_print vfs oaf` $THREADS_LIBS" -AC_SUBST(MAILER_CFLAGS) -AC_SUBST(MAILER_LIBS) - -SOUP_CFLAGS="`gnome-config --cflags soup`" -SOUP_LIBS="`gnome-config --libs soup`" -AC_SUBST(SOUP_CFLAGS) -AC_SUBST(SOUP_LIBS) +EVO_SET_COMPILE_FLAGS(EVOLUTION_MAIL, + bonobo_conf bonobox_print gal gdk_pixbuf gnomecanvaspixbuf gnomeui gtkhtml libglade oaf vfs, + $THREADS_CFLAGS, $THREADS_LIBS) +AC_SUBST(EVOLUTION_MAIL_CFLAGS) +AC_SUBST(EVOLUTION_MAIL_LIBS) dnl ****************************** dnl Pilot checking |