fix configure script for check

This commit is contained in:
c9s 2014-05-24 16:26:47 +08:00
parent 3104802101
commit c69d483fc7

View file

@ -82,7 +82,12 @@ AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS) AC_SUBST(DEPS_LIBS)
AC_CHECK_HEADERS([check.h],[ enable_check=yes ],[ enable_check=unset ]) # This does not work because configure does not look into /opt/local/include...
# AC_CHECK_HEADERS([check.h],[ enable_check=yes ],[ enable_check=unset ])
AC_ARG_ENABLE(check,
AS_HELP_STRING([--enable-check],
[enable unit testing]),
, enable_check=unset)
if test "x$enable_check" != "xunset" ; then if test "x$enable_check" != "xunset" ; then
# AM_PATH_CHECK # AM_PATH_CHECK