commit 68ba552877fad66ace88a363d8c9e96ff3bb99c4
parent 23b5cf23674d557864284eff81d876ee1b5631bf
Author: Alessio Vanni <vannilla@firemail.cc>
Date: Mon, 4 Oct 2021 20:26:53 +0200
-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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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"],