AC_CHECK_HEADERS([fcntl.h],
[],[AC_MSG_ERROR([header is required])])
AC_CHECK_HEADERS([fcntl.h],
[],[AC_MSG_ERROR([header is required])])
AC_CHECK_FUNCS([memmove setenv],
[],[AC_MSG_ERROR([function is required])])
AC_CHECK_FUNCS([execvpe])
AC_CHECK_FUNCS([memmove setenv],
[],[AC_MSG_ERROR([function is required])])
AC_CHECK_FUNCS([execvpe])
dnl Thanks to gperftools' configure.ac (https://code.google.com/p/gperftools).
AC_MSG_CHECKING([for __builtin_expect])
dnl Thanks to gperftools' configure.ac (https://code.google.com/p/gperftools).
AC_MSG_CHECKING([for __builtin_expect])
AM_CONDITIONAL([HAVE_ERROR_H],[test "x$ac_cv_header_error_h" = xyes])
AM_CONDITIONAL([HAVE_VFORK],[test "x$ac_cv_func_vfork_works" = xyes])
AM_CONDITIONAL([HAVE_ERROR_H],[test "x$ac_cv_header_error_h" = xyes])
AM_CONDITIONAL([HAVE_VFORK],[test "x$ac_cv_func_vfork_works" = xyes])