From 0eb708afde86ce4e342bb19b7caac55e314c04c1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 3 Jul 2010 06:53:33 +0000 Subject: nicer build system --- configure.ac | 12 +++++++++++- src/monkey/Makefile.am | 4 ++++ src/nat/Makefile.am | 3 +++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 70d47378b..d5a4f09a6 100644 --- a/configure.ac +++ b/configure.ac @@ -735,7 +735,17 @@ then AC_MSG_NOTICE([NOTICE: libmicrohttpd not found, http transport will not be installed.]) fi -AC_MSG_NOTICE([NOTICE: Database support is set to MySQL: $mysql, SQLite: $sqlite]) +if test "x$esmtp" != "x1" +then + AC_MSG_NOTICE([NOTICE: libesmtp not found, monkey will not be installed.]) +fi + +if test "x$ssl" != "x1" +then + AC_MSG_NOTICE([NOTICE: OpenSSL not found, monkey will not be installed.]) +fi + +AC_MSG_NOTICE([NOTICE: Database support is set to MySQL: $mysql, SQLite: $sqlite, Postgres: $postgres]) if test "$enable_framework_build" = "yes" then diff --git a/src/monkey/Makefile.am b/src/monkey/Makefile.am index b0394787f..6c8c6f9b3 100644 --- a/src/monkey/Makefile.am +++ b/src/monkey/Makefile.am @@ -11,6 +11,8 @@ endif if !MINGW +if HAVE_ESMTP +if HAVE_OPENSSL bin_PROGRAMS = \ gnunet-monkey \ @@ -75,4 +77,6 @@ EXTRA_DIST = \ $(check_SCRIPTS) endif +endif +endif diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am index 3ec124c5e..57be6832d 100644 --- a/src/nat/Makefile.am +++ b/src/nat/Makefile.am @@ -10,6 +10,8 @@ if USE_COVERAGE AM_CFLAGS = -fprofile-arcs -ftest-coverage endif +if !MINGW + lib_LTLIBRARIES = libgnunetnat.la libgnunetnat_la_SOURCES = \ @@ -42,3 +44,4 @@ test_nat_LDADD = \ $(top_builddir)/src/nat/libgnunetnat.la \ $(top_builddir)/src/util/libgnunetutil.la +endif \ No newline at end of file -- cgit v1.2.3