X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=e8fd7e5d95b91cbddd04d4861516a24dc4b4a421;hb=2cb4651f3284418b1b63937343c75480cde10969;hp=d521660a8b89a7df79769d3637b9f30a1840d8b4;hpb=5a6a8b2b8e515941f9a2b3cc051da646ae696251;p=goals.git diff --git a/configure.ac b/configure.ac index d521660..e8fd7e5 100644 --- a/configure.ac +++ b/configure.ac @@ -49,10 +49,19 @@ AC_CHECK_PROG(MENHIR, [menhir], [menhir], [ AC_MSG_ERROR([OCaml menhir parser generator is required]) ]) +AC_CHECK_PROG([POD2MAN], [pod2man], [pod2man], [ + AC_MSG_ERROR([pod2man tool from Perl is required]) +]) + +dnl Substitute OCaml flags and packages. +AC_SUBST([OCAMLFLAGS], ["-g -safe-string -warn-error CDEFLMPSUVYZX+52-3"]) +AC_SUBST([OCAMLPACKAGES], ["-package str,unix,threads -thread"]) + dnl Produce output files. AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h]) +AC_CONFIG_FILES([run], [chmod +x,-w run]) AC_CONFIG_FILES([Goalfile Makefile - src/Goalfile src/Makefile]) + src/config.ml]) AC_OUTPUT