From 68ba552877fad66ace88a363d8c9e96ff3bb99c4 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Mon, 4 Oct 2021 20:26:53 +0200 Subject: -fix a misunderstanding with pkg-config Most of this macro is based on a macro from another library, so I ended up doing things incorrectly because I hadn't fully understood what was going on. I didn't notice this error until now because I used to use the --with-gnunet-prefix flag instead of letting pkgconfig deal with it. --- contrib/gnunet.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/gnunet.m4 b/contrib/gnunet.m4 index 6d9332db3..e740fa396 100644 --- a/contrib/gnunet.m4 +++ b/contrib/gnunet.m4 @@ -41,7 +41,7 @@ AC_DEFUN([AM_PATH_GNUNET], [gnunet_PATH="$prefix/bin${PATH_SEPARATOR}$prefix/usr/bin"]) AC_PATH_PROG([GNUNET_CONFIG],[gnunet-config],[no],[$gnunet_PATH]) AS_UNSET([gnunet_PATH])], - [GNUNET_CONFIG="pkg-config gnunetutil"])]) + [GNUNET_CONFIG="gnunet-config"])]) AC_MSG_CHECKING([if GNUnet version is >= $min_gnunet_version]) gnunet_result=no AS_IF([test "x$GNUNET_CONFIG" != "xno" && test -n "$GNUNET_CONFIG"], -- cgit v1.2.3