Version 2.0.1 for release.
[ocaml-bitstring.git] / configure.ac
index 7a7f0e1..a943d59 100644 (file)
@@ -17,7 +17,7 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(ocaml-bitstring,1.9.8)
+AC_INIT(ocaml-bitstring,2.0.1)
 
 dnl Check for basic C environment.
 AC_PROG_CC
@@ -78,6 +78,13 @@ if test "x$TIME" = "xno"; then
     AC_MSG_ERROR(['time' command not found])
 fi
 
+dnl Check for diff and get full path.
+AC_PATH_PROG(DIFF,diff,no)
+if test "x$DIFF" = "xno"; then
+    AC_MSG_ERROR(['diff' command not found])
+fi
+AC_SUBST(DIFF)
+
 dnl Check for gprof (optional).
 AC_CHECK_PROG(GPROF,gprof,gprof,no)