]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/DEVEL/lablgtkmathview/configure.in
added detection of native code compilation in "upstream" configure/Makefile (going...
[helm.git] / helm / software / DEVEL / lablgtkmathview / configure.in
index d4c16e55df5b034a1208054410d999cf373528e1..2fc3e7ebdede337db16e01275f185ad6b37bb79c 100644 (file)
@@ -21,6 +21,8 @@ if test $HAVE_OCAMLC = "no"; then
   AC_MSG_ERROR(could not find ocamlc in PATH, please make sure ocaml is installed)
 fi
 
+AC_CHECK_PROG(HAVE_OCAMLOPT, ocamlopt, yes, no)
+
 AC_CHECK_PROG(HAVE_OCAMLFIND, ocamlfind, yes, no)
 if test $HAVE_OCAMLFIND = "no"; then
   AC_MSG_ERROR(could not find ocamlfind in PATH, please make sure findlib is installed)
@@ -46,6 +48,7 @@ AC_CHECK_FILE(/usr/include/caml/mlvalues.h,
 
 AC_SUBST(PACKAGE)
 AC_SUBST(VERSION)
+AC_SUBST(HAVE_OCAMLOPT)
 AC_SUBST(OCAML_INCLUDE_DIR)
 AC_SUBST(OCAML_LIB_DIR)
 AC_SUBST(OCAML_STUB_DIR)