mirror of
https://github.com/cryb-to/cryb-otp.git
synced 2024-12-17 18:05:11 +00:00
Use PKG_CHECK_MODULES and PKG_HAVE_MODULES for Cryb libraries.
This commit is contained in:
parent
75fe73025a
commit
80be04ed48
1 changed files with 5 additions and 6 deletions
11
configure.ac
11
configure.ac
|
@ -81,12 +81,11 @@ AC_CHECK_FUNCS([wcslcat wcslcmp wcslcpy])
|
|||
#
|
||||
|
||||
# Cryb.to components
|
||||
PKG_HAVE_WITH_MODULES([CRYB_CORE], [cryb-core],
|
||||
[Cryb.to core utilities])
|
||||
PKG_HAVE_WITH_MODULES([CRYB_OATH], [cryb-oath],
|
||||
[Cryb.to Open Authentication primitives])
|
||||
PKG_HAVE_WITH_MODULES([CRYB_TEST], [cryb-test],
|
||||
[Cryb.to test framework])
|
||||
PKG_CHECK_MODULES([CRYB_CORE], [cryb-core])
|
||||
PKG_CHECK_MODULES([CRYB_OATH], [cryb-oath])
|
||||
PKG_HAVE_MODULES([CRYB_TEST], [cryb-test],
|
||||
[AC_MSG_NOTICE([Cryb test framework found, unit tests enabled.])],
|
||||
[AC_MSG_WARN([Cryb test framework not found, unit tests disabled.])])
|
||||
|
||||
# libpam
|
||||
save_LIBS="${LIBS}"
|
||||
|
|
Loading…
Reference in a new issue