mirror of https://github.com/nirenjan/libx52.git
Reword configure warning on non-Linux hosts
parent
c4696f6055
commit
8388f3308e
|
@ -77,7 +77,7 @@ AM_COND_IF([HAVE_DOXYGEN],
|
||||||
AX_PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.1], [], [have_cmocka=yes], [have_cmocka=no])
|
AX_PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.1], [], [have_cmocka=yes], [have_cmocka=no])
|
||||||
AM_CONDITIONAL([HAVE_CMOCKA], [test "x$have_cmocka" = xyes])
|
AM_CONDITIONAL([HAVE_CMOCKA], [test "x$have_cmocka" = xyes])
|
||||||
AM_COND_IF([HAVE_CMOCKA], [AM_COND_IF([LINUX], [],
|
AM_COND_IF([HAVE_CMOCKA], [AM_COND_IF([LINUX], [],
|
||||||
[AC_MSG_WARN(["cmocka found, but cannot build on ${host_os}])])],
|
[AC_MSG_WARN(["cmocka found; disabling mock tests on ${host_os}])])],
|
||||||
[AC_MSG_WARN(["cmocka not found; disabling unit test build"])])
|
[AC_MSG_WARN(["cmocka not found; disabling unit test build"])])
|
||||||
|
|
||||||
# Check for the presence of tm_gmtoff in struct tm. If we have this, then we
|
# Check for the presence of tm_gmtoff in struct tm. If we have this, then we
|
||||||
|
|
Loading…
Reference in New Issue