X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=configure.ac;h=e17afdf7dbf41d4265fb4d2b9159c402a037e54a;hb=2f1aa1cdd321301db62e25280356bee9a2ac5dfa;hp=ec5b65898d6d14f161557937e89f17406eb71732;hpb=048bd6f9e7f316aafede310ba273776d0086b8ed;p=coloredstderr%2Fcoloredstderr.git diff --git a/configure.ac b/configure.ac index ec5b658..e17afdf 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,7 @@ AC_TYPE_SIZE_T AC_TYPE_SSIZE_T AC_C_INLINE +AX_C___ATTRIBUTE__ AC_FUNC_FORK AC_CHECK_FUNCS([dup2 memmove setenv strdup]) @@ -65,6 +66,7 @@ AC_ARG_ENABLE([debug], dnl Used in tests/Makefile.am to build the test only if error() is available. 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]) AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile]) AC_OUTPUT