[Pkg-libvirt-commits] [libguestfs] 24/61: ocaml: Pass -annot flag to compiler.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 31 19:09:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.28.2-1
in repository libguestfs.
commit dbc9a6181c1cd027397326a745fee6fae959e692
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Oct 23 15:43:25 2014 +0100
ocaml: Pass -annot flag to compiler.
This generates .annot files that contain type information.
In emacs + tuareg mode, using C-c C-t displays the type of the
underlying expression.
(cherry picked from commit fd70cdc3c58a9f240ef8dbbef73ed13054917220)
---
.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 9b9f257..1156c04 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).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list