git.annexia.org
/
wrappi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add preprocessor.
[wrappi.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
f1c908b
..
21832b1
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-37,17
+37,28
@@
AM_PROG_CC_C_O
dnl Check support for 64 bit file offsets.
AC_SYS_LARGEFILE
dnl Check support for 64 bit file offsets.
AC_SYS_LARGEFILE
-dnl Check for OCaml compiler
and camlp4
.
+dnl Check for OCaml compiler.
AC_PROG_OCAML
if test "$OCAMLC" = "no"; then
AC_MSG_ERROR([You must install the OCaml compiler])
fi
AC_PROG_OCAML
if test "$OCAMLC" = "no"; then
AC_MSG_ERROR([You must install the OCaml compiler])
fi
+dnl Camlp4 is required.
AC_PROG_CAMLP4
if test "$CAMLP4" = "no"; then
AC_MSG_ERROR([You must install camlp4 (the OCaml macro preprocessor)])
fi
AC_PROG_CAMLP4
if test "$CAMLP4" = "no"; then
AC_MSG_ERROR([You must install camlp4 (the OCaml macro preprocessor)])
fi
+dnl OCaml findlib ("ocamlfind") is required.
+AC_PROG_FINDLIB
+if test "$OCAMLFIND" = "no"; then
+ AC_MSG_ERROR([You must install OCaml findlib (the ocamlfind command)])
+fi
+
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile
+ APIs/Makefile
+ generator/Makefile
+ lib/Makefile
+ preprocessor/Makefile])
AC_OUTPUT
AC_OUTPUT