#
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])
else
AM_CONDITIONAL(HAVE_LIBBLUETOOTH, false)
fi
+if test "$build_target" = "mingw"
+then
+ bluetooth=1
+fi
# libcurl
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
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.30])
- 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 <microhttpd.h>
- int main () { return MHD_VERSION >= 0x0093000 ? 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"
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.30])
- 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 <microhttpd.h>
- int main () { return MHD_VERSION >= 0x0093000 ? 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"
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.30])
- 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 <microhttpd.h>
- int main () { return MHD_VERSION >= 0x0093000 ? 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"
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
src/dns/dns.conf
src/dv/Makefile
src/dv/dv.conf
+src/env/Makefile
src/exit/Makefile
src/experimentation/Makefile
src/experimentation/experimentation.conf
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
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