From f0619ab27eb337313f45bf64c7b1f01e41f3a4fa Mon Sep 17 00:00:00 2001 From: Christopher Byrne Date: Sun, 29 Jun 2025 00:12:59 -0500 Subject: [PATCH] configure.ac: Use pkgconf macros for libtasn1 Signed-off-by: Christopher Byrne --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 1cfe049..1d9cca1 100644 --- a/configure.ac +++ b/configure.ac @@ -172,11 +172,7 @@ openssl) ;; esac -LIBTASN1_LIBS=$(pkg-config --libs libtasn1) -if test $? -ne 0; then - AC_MSG_ERROR("Is libtasn1-devel installed? -- could not get libs for libtasn1") -fi -AC_SUBST([LIBTASN1_LIBS]) +PKG_CHECK_MODULES([LIBTASN1],[libtasn1]) PKG_CHECK_MODULES( [LIBTPMS],