Some fixes for latest upstream sexplib.
[rpmdepsize.git] / configure.ac
index d171b9d..977bddc 100644 (file)
@@ -17,7 +17,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
 dnl Written by Richard W.M. Jones <rjones@redhat.com>
 
-AC_INIT(rpmdepsize,0.6)
+AC_INIT(rpmdepsize,1.0)
 AM_INIT_AUTOMAKE
 
 AC_CONFIG_MACRO_DIR([m4])
@@ -26,6 +26,9 @@ AC_PROG_OCAML
 if test "$OCAMLC" = "no"; then
   AC_MSG_ERROR([You must install the OCaml compiler])
 fi
+
+AM_CONDITIONAL(OCAML_BYTE_COMPILER,[test "x$OCAMLOPT" = "xbyte"])
+
 AC_PROG_FINDLIB
 if test "$OCAMLFIND" = "no"; then
   AC_MSG_ERROR([You must install OCaml findlib (the ocamlfind command)])
@@ -55,5 +58,5 @@ if test "x$YUM" = "xno" ; then
 fi
 
 AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile rpmdepsize_about.ml])
+AC_CONFIG_FILES([Makefile rpmdepsize_about.ml rpmdepsize.spec])
 AC_OUTPUT