* some code re-arrangement: src/guile-> guile, toys/mm -> emacs

This commit is contained in:
djcb 2011-12-13 08:03:19 +02:00
parent eb7bd05487
commit 8b39c69c89
31 changed files with 10 additions and 22 deletions

View File

@ -23,6 +23,12 @@ else
widgets=
endif
if HAVE_GUILE
guile=guile
else
guile=
endif
SUBDIRS=m4 man src $(widgets) $(guile) contrib toys
ACLOCAL_AMFLAGS=-I m4

View File

@ -211,18 +211,6 @@ AM_CONDITIONAL(HAVE_GIO, [test "x$have_gio" = "xyes"])
AM_CONDITIONAL(BUILD_WIDGETS, [test "x$have_webkit" = "xyes" -a "x$have_gio" = "xyes"])
###############################################################################
# use readline (for 'mu server') if it's available
AC_CHECK_LIB([readline], [main],
[AC_SUBST([READLINE_LIBS], ["-lreadline"])
AC_DEFINE([HAVE_LIBREADLINE], [1],
[Whether we have readline])])
###############################################################################
###############################################################################
# check for guile & guile-snarf
AC_PATH_PROG(GUILE_CONFIG, [guile-config], [], [$PATH])
@ -282,14 +270,14 @@ AS_IF([test "x$PMCCABE" = "xno"],[
AC_CONFIG_FILES([
Makefile
src/Makefile
src/guile/Makefile
src/guile/mu/Makefile
src/tests/Makefile
widgets/Makefile
emacs/Makefile
guile/Makefile
guile/mu/Makefile
toys/Makefile
toys/mug/Makefile
toys/mug2/Makefile
toys/mm/Makefile
man/Makefile
m4/Makefile
contrib/Makefile

View File

@ -20,10 +20,6 @@ include $(top_srcdir)/gtest.mk
# before decending into tests/
SUBDIRS= .
if HAVE_GUILE
SUBDIRS += guile
endif
if BUILD_TESTS
SUBDIRS += tests
endif
@ -113,9 +109,7 @@ libmu_la_SOURCES= \
mu-util.h
libmu_la_LIBADD= \
$(XAPIAN_LIBS) \
$(GMIME_LIBS) \
$(GLIB_LIBS) \
$(READLINE_LIBS)
$(GLIB_LIBS)