This generates .annot files that contain type information.
In emacs + tuareg mode, using C-c C-t displays the type of the
underlying expression.
---
.gitignore | 1 +
configure.ac | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 269d735..fa1cee4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*~
*.a
+*.annot
*.bak
*.class
*.cma
diff --git a/configure.ac b/configure.ac
index 20f87ca..6c33444 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1096,7 +1096,7 @@ AM_CONDITIONAL([HAVE_OCAML_GETTEXT],
dnl Flags we want to pass to every OCaml compiler call.
OCAML_WARN_ERROR="-warn-error CDEFLMPSUVYZX-3"
AC_SUBST([OCAML_WARN_ERROR])
-OCAML_FLAGS="-g"
+OCAML_FLAGS="-g -annot"
AC_SUBST([OCAML_FLAGS])
dnl Check for Perl (optional, for Perl bindings and Perl tools).
--
2.0.4