AC_MSG_ERROR([OCaml findlib is required])
fi
+AC_CHECK_OCAML_WORD_SIZE(OCAML_WORD_SIZE)
+
dnl Use ocamlfind to find the required packages ...
dnl Check for required OCaml packages.
fi
done
+dnl Enable type annotation files (always, there's no penalty for doing
+dnl this). Use C-c C-t in emacs to print the type of an expression.
+OCAMLCFLAGS="-dtypes -g"
+OCAMLOPTFLAGS=""
+
+dnl Enable profiling support for native code.
+AC_ARG_ENABLE([profiling],
+ [AS_HELP_STRING([--enable-profiling],
+ [enable profiling for native code])],
+ [OCAMLOPTFLAGS="$OCAMLOPTFLAGS -p"])
+
+AC_SUBST(OCAMLCFLAGS)
+AC_SUBST(OCAMLOPTFLAGS)
+
dnl Summary.
echo "------------------------------------------------------------"
echo "Thanks for downloading" $PACKAGE_STRING