summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-05 13:04:55 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-05 13:04:55 +0100
commit9b5cc39656b160ee10c7d22813f8f4510610d20e (patch)
tree998dd38e892dcbfe246c2a2075000ec1df4dac92 /configure.ac
parent2289775413e0b66309bbad4692aa63ce6d133d07 (diff)
downloadanastasis-9b5cc39656b160ee10c7d22813f8f4510610d20e.tar.gz
anastasis-9b5cc39656b160ee10c7d22813f8f4510610d20e.tar.bz2
anastasis-9b5cc39656b160ee10c7d22813f8f4510610d20e.zip
adapt to latest changes in GNUnet
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index df9e1f4..e0707e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,14 +137,10 @@ AS_CASE([$with_gnunet],
[no], [AC_MSG_ERROR([--with-gnunet is required])],
[LDFLAGS="-L$with_gnunet/lib $LDFLAGS"
CPPFLAGS="-I$with_gnunet/include $CPPFLAGS"])
-AC_CHECK_HEADERS([gnunet/platform.h gnunet/gnunet_util_lib.h],
+AC_CHECK_HEADERS([gnunet/gnunet_util_lib.h],
[AC_CHECK_LIB([gnunetutil],
[GNUNET_SCHEDULER_run],
- [libgnunetutil=1])],
- [],
- [#ifdef HAVE_GNUNET_PLATFORM_H
- #include <gnunet/platform.h>
- #endif])
+ [libgnunetutil=1])])
AS_IF([test $libgnunetutil != 1],
[AC_MSG_ERROR([[
***