Fix syntax error in configure.ac (fix #96)
This commit is contained in:
parent
7e4c74d625
commit
234e64f584
1 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,7 @@ if test "x$found_jemalloc" == "xyes" ; then
|
||||||
|
|
||||||
AC_MSG_CHECKING([Checking jemalloc version])
|
AC_MSG_CHECKING([Checking jemalloc version])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jemalloc/jemalloc.h>]],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jemalloc/jemalloc.h>]],
|
||||||
[[
|
[[
|
||||||
#ifdef JEMALLOC_VERSION_MAJOR > 2
|
#ifdef JEMALLOC_VERSION_MAJOR > 2
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue