summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-04-06 12:36:53 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-04-06 12:36:53 +0200
commitffddfafb4f8cc701b9f668174770f784acc07827 (patch)
tree6ac7deeab0f0fc4c5ca9c7877891cb230bd29ef9
parentd887cda509e0001adcdeb74feca80a71416827b7 (diff)
-fix MHD detection
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e6c98188e..cbcd5fd5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1030,7 +1030,7 @@ AC_ARG_WITH([microhttpd],
[AS_HELP_STRING([--with-microhttpd=PFX],
[base of libmicrohttpd installation])],
[SAVE_PKG_PATH="$PKG_CONFIG_PATH"
- PKG_CONFIG_PATH="$httpd/lib/pkgconfig"
+ PKG_CONFIG_PATH="${withval}/lib/pkgconfig"
export PKG_CONFIG_PATH
PKG_CHECK_MODULES([MHD], [libmicrohttpd >= 0.9.63], [libmhd=1], [libmhd=0])
PKG_CONFIG_PATH="$SAVE_PKG_PATH"],