+dnl Choose native code if available, but allow the user to specify
+dnl bytecode only (useful for debugging).
+AC_ARG_WITH([native],
+ [AS_HELP_STRING([--without-native],
+ [disable native compilation (slow, but useful for debugging)])],
+ [],
+ [with_native=yes])
+AM_CONDITIONAL([HAVE_OCAMLOPT],
+ [test "x$with_native" != "xno" && test "x$OCAMLBEST" = "xopt"])
+