Merge pull request #103 from yohanboniface/fix-configure

Fix syntax error in configure.ac (fix #96)
This commit is contained in:
Yo-An Lin 2017-08-26 16:56:50 +08:00 committed by GitHub
commit 0d78599a57

View file

@ -123,7 +123,8 @@ if test "x$enable_check" != "xunset" ; then
PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[ PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[
ifdef([AM_PATH_CHECK], ifdef([AM_PATH_CHECK],
[AM_PATH_CHECK(,[have_check="yes"])], [AM_PATH_CHECK(,[have_check="yes"])],
AC_MSG_WARN([Check not found; cannot run unit tests!]) [have_check="no"] AC_MSG_WARN([Check not found; cannot run unit tests!])
[have_check="no"]
)] )]
]) ])
fi fi