fi
dnl do we have the easy setup stuff?
+have_easysetup=false
if test -d src/${with_platform}/easysetup; then
- AC_DEFINE_UNQUOTED(MODEST_HAVE_EASYSETUP, 1, ["Whether the easysetup feature is available."])
+ have_easysetup=true
+ AC_DEFINE_UNQUOTED(MODEST_HAVE_EASYSETUP, 1, ["Whether the easysetup feature is available."])
fi
-AM_CONDITIONAL(MODEST_HAVE_EASYSETUP,test -d src/${with_platform}/easysetup)
+AM_CONDITIONAL(MODEST_HAVE_EASYSETUP,test x$have_easysetup = xtrue)
dnl ## setup the testing framework (ie., make check)
echo
echo "modest configure results"
echo "-----------------------------------"
-echo "Platform : $with_platform"
-echo "Build tests : $build_tests"
-echo "Build docs : $build_docs"
-echo "Debug version : $with_debug"
+echo "Platform : $with_platform"
+echo "Build easy setup : $have_easysetup"
+echo "Build tests : $build_tests"
+echo "Build docs : $build_docs"
+echo "Debug version : $with_debug"
echo ""
echo "NOTE: you should do a 'make clean' after changing architecture or platform (--with-platform=)"
echo ""
#
# Makefile.am
-# Time-stamp: <2007-04-06 16:29:33 (djcb)>
+# Time-stamp: <2007-04-10 10:58:05 (djcb)>
SUBDIRS=$(MODEST_PLATFORM) widgets
DIST_SUBDIRS = widgets gnome maemo
modest-marshal.h: modest-marshal.list
glib-genmarshal --header --prefix=modest_marshal < modest-marshal.list > modest-marshal.h
-if MODEST_HAVE_EASYSETUP
- easysetupmaybe=$(MODEST_PLATFORM)/easysetup/libmodest-easysetup.la
-else
- easysetupmaybe=$(MODEST_PLATFORM)/easysetup/libmodest-easysetup.la
-endif
-
-
bin_PROGRAMS=\
modest
modest-connection-specific-smtp-edit-window.h \
modest-connection-specific-smtp-edit-window.c
-LDADD = \
+libmodest_ui_la_LIBADD = \
$(MODEST_GSTUFF_LIBS) \
- $(MODEST_LIBTINYMAIL_MAEMO_LIBS)
+ $(MODEST_LIBTINYMAIL_MAEMO_LIBS) \
+ easysetup/libmodest-easysetup.la
PIXMAP_FILES=\
pixmaps/*.png