X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=35bac9d4817c51a4e0feba5cbc1a03e6749d4823;hb=2f188daa74d22b8762e1319608155d6ea227d835;hp=967fb341c45ef333783d91438a857d358e2b14e2;hpb=27d82ab05216a907a4acdb74eb5b812587d7e97a;p=ocaml-bitstring.git diff --git a/configure.ac b/configure.ac index 967fb34..35bac9d 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(ocaml-bitmatch,1.2) +AC_INIT(ocaml-bitmatch,1.9) dnl Check for basic C environment. AC_PROG_CC @@ -29,7 +29,7 @@ test "x$U" != "x" && AC_MSG_ERROR(Compiler not ANSI compliant) AC_PROG_CC_C_O -dnl Check for endianness. +dnl Check for native endianness. AC_C_BIGENDIAN( [NATIVEENDIAN=BigEndian], [NATIVEENDIAN=LittleEndian], @@ -51,7 +51,11 @@ if test "x$CAMLP4OF" = "xno"; then AC_MSG_ERROR([You must have camlp4 installed]) fi +dnl Check for CIL (optional) +AC_CHECK_OCAML_PKG(cil) +AC_SUBST(pkg_cil) + dnl Produce output files. AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([Makefile META bitmatch_config.ml]) +AC_CONFIG_FILES([Makefile META bitmatch_config.ml cil-tools/Makefile]) AC_OUTPUT