unset if config.h is not found.

This commit is contained in:
c9s 2014-05-24 15:50:12 +08:00
parent 6f66cc4f7a
commit adc96ae2d2

View file

@ -82,7 +82,7 @@ AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS) AC_SUBST(DEPS_LIBS)
AC_CHECK_HEADERS([check.h],[ enable_check=yes ],:) AC_CHECK_HEADERS([check.h],[ enable_check=yes ],[ enable_check=unset ])
if test "x$enable_check" != "xunset" ; then if test "x$enable_check" != "xunset" ; then
# AM_PATH_CHECK # AM_PATH_CHECK