]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - configure.ac
Only run vfork() tests if it's available.
[coloredstderr/coloredstderr.git] / configure.ac
index 3b007c5d29b51404c86d151d222ea5136acf31c5..e17afdf7dbf41d4265fb4d2b9159c402a037e54a 100644 (file)
@@ -66,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