Allow building tests on Ubuntu 16.04, which has libcmocka 1.0.1 (#1405)

This commit is contained in:
asc 2018-08-30 09:35:04 +02:00 committed by Frank Morgner
parent b5a6f9aa6e
commit 0ab5b92dc5
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ if test "${enable_notify}" = "yes"; then
fi
have_cmocka="yes"
PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.1.0],,[have_cmocka="no"])
PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.0.1],,[have_cmocka="no"])
AC_CHECK_HEADER([setjmp.h])
AC_CHECK_HEADER([cmocka.h],, [have_cmocka="no"],
[#include <stdarg.h>