Reorganize metadata parsing so it happens only once.
[virt-df.git] / configure.ac
index 6800654..1ce5461 100644 (file)
@@ -17,7 +17,7 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(virt-df,2.0.1)
+AC_INIT(virt-df,2.0.2)
 
 AC_PROG_INSTALL
 
@@ -113,6 +113,20 @@ EOT
     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
@@ -124,6 +138,7 @@ AC_CONFIG_FILES([Makefile
        Make.rules
        diskzip/Makefile
        lib/Makefile
+       lib/META
        po/Makefile
        virt-df/Makefile
        ])