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
This commit is contained in:
parent
251dac8e4a
commit
1dce53245b
11
configure.ac
11
configure.ac
|
@ -110,13 +110,10 @@ SYSTEM_LIBPAM="${LIBS}"
|
||||||
LIBS="${saved_LIBS}"
|
LIBS="${saved_LIBS}"
|
||||||
AC_SUBST(SYSTEM_LIBPAM)
|
AC_SUBST(SYSTEM_LIBPAM)
|
||||||
|
|
||||||
CRYB_INIT()
|
AX_PKG_CONFIG_CHECK([cryb-test],
|
||||||
CRYB_LIB_REQUIRE([test])
|
[AC_MSG_NOTICE([Cryb test framework found, unit tests enabled.])],
|
||||||
CRYB_RESOLVE
|
[AC_MSG_WARN([Cryb test framework not found, unit tests disabled.])])
|
||||||
dnl AX_PKG_CONFIG_CHECK([cryb-test],
|
AM_CONDITIONAL([WITH_TEST], [test x"$CRYB_TEST_LIBS" != x""])
|
||||||
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"" ])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE([developer-warnings],
|
AC_ARG_ENABLE([developer-warnings],
|
||||||
AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]),
|
AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]),
|
||||||
|
|
Loading…
Reference in New Issue