X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=471be3e29551e3d9f9d5cc4a40005c5b208ed43d;hb=131b463e2583cdde988fb0e8167bc89e4df4c530;hp=2a6a8a8ab506ab82cec5107392aba81a6a22da85;hpb=9839451a4a8344322d6a1578540e2eb1919427d7;p=oweals%2Fgnunet.git diff --git a/configure.ac b/configure.ac index 2a6a8a8ab..471be3e29 100644 --- a/configure.ac +++ b/configure.ac @@ -22,13 +22,13 @@ # AC_PREREQ(2.61) # Checks for programs. -AC_INIT([gnunet], [0.9.5a],[bug-gnunet@gnu.org]) +AC_INIT([gnunet], [0.9.5a], [bug-gnunet@gnu.org]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE([gnunet], [0.9.5a]) +AM_INIT_AUTOMAKE m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_HEADERS([gnunet_config.h]) AH_TOP([#define _GNU_SOURCE 1]) @@ -368,6 +368,10 @@ then else AM_CONDITIONAL(HAVE_LIBBLUETOOTH, false) fi +if test "$build_target" = "mingw" +then + bluetooth=1 +fi # libcurl @@ -497,8 +501,10 @@ AC_ARG_WITH(ltdl, AC_CHECK_HEADERS(ltdl.h, AC_CHECK_LIB([ltdl], [lt_dlopenext], ltdl=1))]) -if test "$ltdl" != 1 +if test x$ltdl = x1 then + AC_MSG_RESULT([libltdl found]) +else AC_MSG_ERROR([GNUnet requires libltdl (from GNU libtool), try installing libltdl-dev]) fi # restore LIBS @@ -729,12 +735,12 @@ AC_ARG_WITH(microhttpd, AC_CHECK_HEADERS([microhttpd.h], AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT, AC_CHECK_LIB([microhttpd], [MHD_start_daemon], - [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.18]) - AC_RUN_IFELSE([ + [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.31]) + AC_RUN_IFELSE([AC_LANG_SOURCE([ #include "$native_srcdir/src/include/platform.h" #include - int main () { return MHD_VERSION >= 0x0091200 ? 0 : 1; } - ], [ + int main () { return MHD_VERSION >= 0x0093002 ? 0 : 1; } + ])], [ AC_MSG_RESULT(ok) lmhd=1],[AC_MSG_RESULT(failed)],lmhd=1)]), [],[#include "$native_srcdir/src/include/platform.h" @@ -748,12 +754,12 @@ AC_ARG_WITH(microhttpd, AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT, AC_CHECK_LIB([microhttpd], [MHD_start_daemon], EXT_LIB_PATH="-L$with_microhttpd/lib $EXT_LIB_PATH" - [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.18]) - AC_RUN_IFELSE([ + [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.31]) + AC_RUN_IFELSE([AC_LANG_SOURCE([ #include "$native_srcdir/src/include/platform.h" #include - int main () { return MHD_VERSION >= 0x0091200 ? 0 : 1; } - ], [ + int main () { return MHD_VERSION >= 0x0093002 ? 0 : 1; } + ])], [ AC_MSG_RESULT(ok) lmhd=1],[AC_MSG_RESULT(failed)],lmhd=1)]), [],[#include "$native_srcdir/src/include/platform.h" @@ -766,12 +772,12 @@ AC_ARG_WITH(microhttpd, AC_CHECK_HEADERS([microhttpd.h], AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT, AC_CHECK_LIB([microhttpd], [MHD_start_daemon], - [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.18]) - AC_RUN_IFELSE([ + [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.31]) + AC_RUN_IFELSE([AC_LANG_SOURCE([ #include "$native_srcdir/src/include/platform.h" #include - int main () { return MHD_VERSION >= 0x0091200 ? 0 : 1; } - ], [ + int main () { return MHD_VERSION >= 0x0093002 ? 0 : 1; } + ])], [ AC_MSG_RESULT(ok) lmhd=1],[AC_MSG_RESULT(failed)],lmhd=1)]), [],[#include "$native_srcdir/src/include/platform.h" @@ -1060,7 +1066,7 @@ AC_MSG_RESULT($enable_monkey) AM_CONDITIONAL([ENABLE_MONKEY], [test "x$enable_monkey" = "xyes"]) if test "x$enable_monkey" = "xyes" then - MONKEYPREFIX="monkey" + MONKEYPREFIX="pathologist -d $(eval echo ${datarootdir}/gnunet/gnunet.sqlite) -p 30 --" else MONKEYPREFIX="" fi @@ -1284,6 +1290,7 @@ src/arm/arm.conf src/ats/Makefile src/ats/ats.conf src/ats-tool/Makefile +src/ats-tests/Makefile src/block/Makefile src/core/Makefile src/core/core.conf @@ -1298,6 +1305,7 @@ src/dns/Makefile src/dns/dns.conf src/dv/Makefile src/dv/dv.conf +src/env/Makefile src/exit/Makefile src/experimentation/Makefile src/experimentation/experimentation.conf @@ -1310,7 +1318,6 @@ src/gns/nss/Makefile src/hello/Makefile src/identity/Makefile src/identity/identity.conf -src/psycstore/Makefile src/include/Makefile src/include/gnunet_directories.h src/integration-tests/Makefile @@ -1331,9 +1338,15 @@ src/peerinfo/Makefile src/peerinfo/peerinfo.conf src/peerinfo-tool/Makefile src/postgres/Makefile +src/psyc/Makefile +src/psyc/psyc.conf +src/psycstore/Makefile +src/psycstore/psycstore.conf src/pt/Makefile src/regex/Makefile src/regex/regex.conf +src/revocation/Makefile +src/revocation/revocation.conf src/scalarproduct/Makefile src/scalarproduct/scalarproduct.conf src/set/Makefile