summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
-rw-r--r--src/monkey/Makefile.am4
-rw-r--r--src/nat/Makefile.am3
3 files changed, 18 insertions, 1 deletions
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