From: Philip Van Hoof Date: Tue, 8 May 2007 09:22:02 +0000 (+0000) Subject: Moved DBUSAPI to an AM_CONDITIONAL X-Git-Tag: git_migration_finished~3686 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=1a62f47ab1af306b8ee42103b4ebb1650cc03a26 Moved DBUSAPI to an AM_CONDITIONAL pmo-trunk-r1780 --- diff --git a/configure.ac b/configure.ac index aa69fac..58cf1a8 100644 --- a/configure.ac +++ b/configure.ac @@ -148,6 +148,8 @@ else fi +AM_CONDITIONAL(BUILD_DBUSAPI, test x$dbus_api = xdbus_api) + dnl do we have the easy setup stuff? have_easysetup=false if test -d src/${with_platform}/easysetup; then diff --git a/src/Makefile.am b/src/Makefile.am index 9d92a5a..e85f56b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,12 @@ # # Makefile.am # Time-stamp: <2007-04-21 11:15:36 (djcb)> -SUBDIRS=$(MODEST_PLATFORM) widgets $(dbus_api) +SUBDIRS=$(MODEST_PLATFORM) widgets + +if BUILD_DBUSAPI +SUBDIRS += dbus_api +endif + DIST_SUBDIRS = widgets gnome maemo dbus_api INCLUDES=\ @@ -92,7 +97,10 @@ modest_LDADD = \ $(MODEST_LIBTINYMAIL_MAEMO_LIBS) \ ${easysetupmaybe} \ $(MODEST_PLATFORM)/libmodest-ui.la \ - widgets/libmodest-widgets.la \ - dbus_api/libmodest-dbus-api.la + widgets/libmodest-widgets.la + +if BUILD_DBUSAPI + modest_LDADD += dbus_api/libmodest-dbus-api.la +endif EXTRA_DIST=modest-marshal.list