diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2021-10-04 20:26:53 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2021-10-04 20:26:53 +0200 |
commit | 68ba552877fad66ace88a363d8c9e96ff3bb99c4 (patch) | |
tree | 4da9bf2ceff82cd7a6c4b9f2544e40b7c3839b07 | |
parent | 23b5cf23674d557864284eff81d876ee1b5631bf (diff) | |
download | gnunet-68ba552877fad66ace88a363d8c9e96ff3bb99c4.tar.gz gnunet-68ba552877fad66ace88a363d8c9e96ff3bb99c4.zip |
-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.
-rw-r--r-- | contrib/gnunet.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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], | |||
41 | [gnunet_PATH="$prefix/bin${PATH_SEPARATOR}$prefix/usr/bin"]) | 41 | [gnunet_PATH="$prefix/bin${PATH_SEPARATOR}$prefix/usr/bin"]) |
42 | AC_PATH_PROG([GNUNET_CONFIG],[gnunet-config],[no],[$gnunet_PATH]) | 42 | AC_PATH_PROG([GNUNET_CONFIG],[gnunet-config],[no],[$gnunet_PATH]) |
43 | AS_UNSET([gnunet_PATH])], | 43 | AS_UNSET([gnunet_PATH])], |
44 | [GNUNET_CONFIG="pkg-config gnunetutil"])]) | 44 | [GNUNET_CONFIG="gnunet-config"])]) |
45 | AC_MSG_CHECKING([if GNUnet version is >= $min_gnunet_version]) | 45 | AC_MSG_CHECKING([if GNUnet version is >= $min_gnunet_version]) |
46 | gnunet_result=no | 46 | gnunet_result=no |
47 | AS_IF([test "x$GNUNET_CONFIG" != "xno" && test -n "$GNUNET_CONFIG"], | 47 | AS_IF([test "x$GNUNET_CONFIG" != "xno" && test -n "$GNUNET_CONFIG"], |