mirror of
https://github.com/cryb-to/cryb-otp.git
synced 2024-11-23 22:15:42 +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
|
# Cryb.to components
|
||||||
PKG_HAVE_WITH_MODULES([CRYB_CORE], [cryb-core],
|
PKG_CHECK_MODULES([CRYB_CORE], [cryb-core])
|
||||||
[Cryb.to core utilities])
|
PKG_CHECK_MODULES([CRYB_OATH], [cryb-oath])
|
||||||
PKG_HAVE_WITH_MODULES([CRYB_OATH], [cryb-oath],
|
PKG_HAVE_MODULES([CRYB_TEST], [cryb-test],
|
||||||
[Cryb.to Open Authentication primitives])
|
[AC_MSG_NOTICE([Cryb test framework found, unit tests enabled.])],
|
||||||
PKG_HAVE_WITH_MODULES([CRYB_TEST], [cryb-test],
|
[AC_MSG_WARN([Cryb test framework not found, unit tests disabled.])])
|
||||||
[Cryb.to test framework])
|
|
||||||
|
|
||||||
# libpam
|
# libpam
|
||||||
save_LIBS="${LIBS}"
|
save_LIBS="${LIBS}"
|
||||||
|
|
Loading…
Reference in a new issue