Allow building tests on Ubuntu 16.04, which has libcmocka 1.0.1 (#1405)
This commit is contained in:
parent
b5a6f9aa6e
commit
0ab5b92dc5
|
@ -522,7 +522,7 @@ if test "${enable_notify}" = "yes"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
have_cmocka="yes"
|
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([setjmp.h])
|
||||||
AC_CHECK_HEADER([cmocka.h],, [have_cmocka="no"],
|
AC_CHECK_HEADER([cmocka.h],, [have_cmocka="no"],
|
||||||
[#include <stdarg.h>
|
[#include <stdarg.h>
|
||||||
|
|
Loading…
Reference in New Issue