From 1dce53245b3579f3cf87a7b8f44fc63adf9b5c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 20 Feb 2019 13:19:01 +0000 Subject: [PATCH] r940 relied on Cryb's own autoconf macros, which obviously aren't available unless Cryb itself is available, which is precisely what we're trying to figure out. Use plain pkg-config instead, as intended. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@942 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- configure.ac | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 0feb329..c8f8b34 100644 --- a/configure.ac +++ b/configure.ac @@ -110,13 +110,10 @@ SYSTEM_LIBPAM="${LIBS}" LIBS="${saved_LIBS}" AC_SUBST(SYSTEM_LIBPAM) -CRYB_INIT() -CRYB_LIB_REQUIRE([test]) -CRYB_RESOLVE -dnl AX_PKG_CONFIG_CHECK([cryb-test], -dnl [AC_MSG_NOTICE([Cryb test framework found, unit tests enabled.])], -dnl [AC_MSG_WARN([Cryb test framework not found, unit tests disabled.])]) -AM_CONDITIONAL([WITH_TEST], [ test x"$CRYB_TEST_LIBS" != x"" ]) +AX_PKG_CONFIG_CHECK([cryb-test], + [AC_MSG_NOTICE([Cryb test framework found, unit tests enabled.])], + [AC_MSG_WARN([Cryb test framework not found, unit tests disabled.])]) +AM_CONDITIONAL([WITH_TEST], [test x"$CRYB_TEST_LIBS" != x""]) AC_ARG_ENABLE([developer-warnings], AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]),