[Pkg-libvirt-commits] [libguestfs] 124/179: ocaml: Pass -annot flag to compiler.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 31 19:08:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit fd70cdc3c58a9f240ef8dbbef73ed13054917220
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.
---
 .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).

-- 
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