AC_CHECK_LIB(anl, getaddrinfo_a, [have_addrinfo_a=1 AC_DEFINE(HAVE_GETADDRINFO_A,1,[getaddrinfo_a supported])])
AM_CONDITIONAL(HAVE_GETADDRINFO_A, [test "$have_addrinfo_a" = 1])
+
# tests only run on Windows
if test "x$build_target" = "xmingw"
then
LDFLAGS="$LDFLAGS -pie"
fi])
-
# Linker hardening options
# Currently these options are ELF specific - you can't use this with MacOSX
AC_ARG_ENABLE(linker-hardening,
AC_DEFINE([HAVE_LIBCURL],[1],[Have CURL])
fi
+AC_SEARCH_LIBS(__atomic_load_8, atomic, [have_libatomic=1 AC_DEFINE(HAVE_LIBATOMIC,1,[external libatomic])])
+AM_CONDITIONAL(HAVE_LIBATOMIC, [test "$have_libatomic" = 1])
# restore LIBS & CPPFLAGS
LIBS=$SAVE_LIBS
AC_SUBST(DLLDIR)
AC_SUBST(EXT_LIB_PATH)
+DATAROOTDIR=$datarootdir
+AC_SUBST(DATAROOTDIR)
# test for sudo
AC_MSG_CHECKING(for sudo)
AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"])
-# should monkey be used when running (certain) services?
-AC_MSG_CHECKING(whether to run with monkey)
-AC_ARG_ENABLE([monkey],
- [AS_HELP_STRING([--enable-monkey], [enable running with monkey])],
- [enable_monkey=${enableval}],
- [enable_monkey=no])
-AC_MSG_RESULT($enable_monkey)
-AM_CONDITIONAL([ENABLE_MONKEY], [test "x$enable_monkey" = "xyes"])
-if test "x$enable_monkey" = "xyes"
-then
- MONKEYPREFIX="pathologist -d $(eval echo ${datarootdir}/gnunet/gnunet.sqlite) -p 30 --"
-else
- MONKEYPREFIX=""
-fi
-AC_SUBST(MONKEYPREFIX)
-
-
AC_MSG_CHECKING([whether to compile in benchmarks (currently for http and crypto)])
AC_ARG_ENABLE([benchmark],
[AS_HELP_STRING([--enable-benchmark], [enable benchmarking])],
AC_ARG_ENABLE([autostart],
[AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])],
[enable_autostart=${enableval}
- if test "x$enable_autostart" == "xno"
+ if test "x$enable_autostart" = "xno"
then
START_ON_DEMAND="NO"
fi
"USERNAME" with the respective login names). If you have a global IP
address, no further configuration is required.
-For more detailed setup instructions, see https://gnunet.org/installation
+For more detailed setup instructions, see https://docs.gnunet.org/
Optionally, download and compile gnunet-gtk to get a GUI for
file-sharing and configuration. This is particularly recommended