Skip to content
Snippets Groups Projects
Commit 4b0c12ea authored by Marek Vavruša's avatar Marek Vavruša
Browse files

configure: detect cmocka, optional build of unittests

parent 4bab5dad
Branches
Tags
No related merge requests found
......@@ -32,6 +32,7 @@ PKG_PROG_PKG_CONFIG
# Check for dependencies
PKG_CHECK_MODULES([libuv], [libuv])
PKG_CHECK_MODULES([libknot], [libknot])
PKG_CHECK_MODULES([cmocka], [cmocka], AC_CONFIG_FILES([tests/Makefile]))
# Search other libraries
AC_SEARCH_LIBS([mdb_env_open], [lmdb])
......@@ -40,9 +41,9 @@ AC_SEARCH_LIBS([mdb_env_open], [lmdb])
AC_CONFIG_FILES([Makefile
lib/Makefile
daemon/Makefile
tests/Makefile
])
# Output
AC_OUTPUT
AC_MSG_RESULT([
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment