AC_INIT([Haskell process package], [1.0], [libraries@haskell.org], [process]) # Safety check: Ensure that we are in the correct source directory. AC_CONFIG_SRCDIR([include/runProcess.h]) AC_CONFIG_HEADERS([include/HsProcessConfig.h]) AC_ARG_WITH([cc], [C compiler], [CC=$withval]) AC_PROG_CC() dnl ** Working vfork? AC_FUNC_FORK # check for specific header (.h) files that we are interested in AC_CHECK_HEADERS([signal.h sys/wait.h]) AC_CHECK_FUNCS([setitimer]) FP_CHECK_CONSTS([SIG_DFL SIG_IGN]) AC_OUTPUT