X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=19bdb5ee847a53f865b0389fdc0370da3ebb4ae3;hb=e4ab5c979af8839adc4527bd31e52fa87a0fa3ad;hp=6c83f32da5434c8a652ae21996c2a58e506f559c;hpb=e3d8c10ed93fcd112603484fcfd267f8f87bd2cc;p=oweals%2Fgnunet.git diff --git a/configure.ac b/configure.ac index 6c83f32da..19bdb5ee8 100644 --- a/configure.ac +++ b/configure.ac @@ -21,8 +21,8 @@ # # AC_PREREQ(2.61) -AC_INIT([gnunet], [0.9.0pre0],[bug-gnunet@gnu.org]) -AM_INIT_AUTOMAKE([gnunet], [0.9.0pre0]) +AC_INIT([gnunet], [0.9.0pre1],[bug-gnunet@gnu.org]) +AM_INIT_AUTOMAKE([gnunet], [0.9.0pre1]) AC_CONFIG_HEADERS([gnunet_config.h]) AH_TOP([#define _GNU_SOURCE 1]) @@ -189,7 +189,7 @@ fi # libcurl -LIBCURL_CHECK_CONFIG(,7.15.4,,AC_MSG_ERROR([GNUnet requires libcurl >= 7.15.4])) +LIBCURL_CHECK_CONFIG(,7.18.0,,AC_MSG_ERROR([GNUnet requires libcurl >= 7.18.0])) # restore LIBS LIBS=$SAVE_LIBS @@ -478,6 +478,44 @@ AC_ARG_WITH(microhttpd, [#include "src/include/platform.h"])]) AM_CONDITIONAL(HAVE_MHD, test x$lmhd = x1) AC_DEFINE_UNQUOTED([HAVE_MHD], $lmhd, [We have libmicrohttpd]) + + +# openssl +openssl=0 +AC_MSG_CHECKING([for openssl]) +AC_ARG_WITH(openssl, + [ --with-openssl=PFX base of openssl installation], + [AC_MSG_RESULT([$with_openssl]) + case $with_openssl in + no) + ;; + yes) + AC_CHECK_HEADERS([openssl/ssl.h], + AC_CHECK_LIB([ssl], [SSL_new], + openssl=1)) + ;; + *) + LDFLAGS="-L$with_openssl/lib $LDFLAGS" + CPPFLAGS="-I$with_openssl/include $CPPFLAGS" + AC_CHECK_HEADERS([openssl/ssl.h], + AC_CHECK_LIB([ssl], [SSL_new], + EXT_LIB_PATH="-L$with_openssl/lib $EXT_LIB_PATH" + openssl=1)) + ;; + esac + ], + [AC_MSG_RESULT([--with-openssl not specified]) + AC_CHECK_HEADERS([openssl/ssl.h], + AC_CHECK_LIB([ssl], [SSL_new], + openssl=1))]) +AM_CONDITIONAL(HAVE_OPENSSL, test x$openssl = x1) +AC_DEFINE_UNQUOTED([HAVE_OPENSSL], $openssl, [We have openssl]) + + + + + + # restore LIBS LIBS=$SAVE_LIBS @@ -497,6 +535,8 @@ then else AC_MSG_RESULT([not found]) fi +else + AM_CONDITIONAL(HAVE_PYTHON_PEXPECT, 0) fi # libesmtp @@ -533,8 +573,8 @@ AC_DEFINE_UNQUOTED([HAVE_ESMTP], $esmtp, [We have libesmtp]) LIBS=$SAVE_LIBS # check for gettext -AM_GNU_GETTEXT_VERSION([0.16.1]) AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.16.1]) # check for iconv AM_ICONV @@ -660,6 +700,7 @@ src/hello/Makefile src/include/Makefile src/include/gnunet_directories.h src/hostlist/Makefile +src/monkey/Makefile src/nat/Makefile src/nat/libnatpmp/Makefile src/nat/miniupnp/Makefile @@ -671,6 +712,7 @@ src/testing/Makefile src/topology/Makefile src/transport/Makefile src/util/Makefile +src/vpn/Makefile ]) AC_OUTPUT @@ -693,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$openssl" != "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