diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-15 00:19:18 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-23 00:00:56 +0200 |
commit | bc7cd6773fcd6bf51156725b5c8881cb00ef45b7 (patch) | |
tree | 0d2038fcb844e1f55d2aebdbdfb2319ea0eabd07 /configure.ac | |
parent | d494333e7607ea03819adcfb69d89f8248ec2044 (diff) | |
download | hurd-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.ac | 4 |
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]) |