X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=51ea72140fd7d42ce2babdd1b9d894eee9f618c5;hb=736d4818dd7275aba121b427cbb527c01f595f47;hp=e3fd9aebbfd0c998ac8ab46910814365cb4f6d97;hpb=00dfdab0481c531b8608a157dc4c4991f319d7f7;p=goals.git diff --git a/configure.ac b/configure.ac index e3fd9ae..51ea721 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,10 @@ AC_PROG_CPP AC_C_PROTOTYPES test "x$U" != "x" && AC_MSG_ERROR([Compiler not ANSI compliant]) +dnl C headers and functions. +AC_CHECK_HEADERS([sys/sysinfo.h]) +AC_CHECK_FUNCS([get_nprocs]) + dnl Check for basic OCaml environment and findlib. AC_PROG_OCAML if test "x$OCAMLC" = "xno"; then @@ -55,7 +59,7 @@ AC_CHECK_PROG([POD2MAN], [pod2man], [pod2man], [ dnl Substitute OCaml flags and packages. AC_SUBST([OCAMLFLAGS], ["-g -safe-string -warn-error CDEFLMPSUVYZX+52-3"]) -AC_SUBST([OCAMLPACKAGES], ["-package str,unix"]) +AC_SUBST([OCAMLPACKAGES], ["-package str,unix,threads -thread"]) dnl Produce output files. AC_CONFIG_HEADERS([config.h])