aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-07-15 00:19:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-07-23 00:00:56 +0200
commitbc7cd6773fcd6bf51156725b5c8881cb00ef45b7 (patch)
tree0d2038fcb844e1f55d2aebdbdfb2319ea0eabd07 /configure.ac
parentd494333e7607ea03819adcfb69d89f8248ec2044 (diff)
downloadhurd-bc7cd6773fcd6bf51156725b5c8881cb00ef45b7.tar.gz
hurd-bc7cd6773fcd6bf51156725b5c8881cb00ef45b7.tar.bz2
hurd-bc7cd6773fcd6bf51156725b5c8881cb00ef45b7.zip
Fix build against libgcrypt >= 1.11.0
It now provides a pkg-config file instead of libgcrypt-config
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a2e325cc..1f814438 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,8 +341,10 @@ PKG_CHECK_MODULES([libblkid], [blkid],
AC_SUBST([libblkid_LIBS])
AC_SUBST([libblkid_CFLAGS])
-AM_PATH_LIBGCRYPT("1:1.6.0",[HAVE_LIBGCRYPT=yes], [HAVE_LIBGCRYPT=no])
+PKG_CHECK_MODULES([libgcrypt], [libgcrypt], [HAVE_LIBGCRYPT=yes], [HAVE_LIBGCRYPT=no])
AC_SUBST([HAVE_LIBGCRYPT])
+AC_SUBST([libgcrypt_LIBS])
+AC_SUBST([libgcrypt_CFLAGS])
PKG_CHECK_MODULES([liblwip], [lwip], [HAVE_LIBLWIP=yes], [HAVE_LIBLWIP=no])
AC_SUBST([HAVE_LIBLWIP])