fix configure script for check
This commit is contained in:
parent
3104802101
commit
c69d483fc7
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue