X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=0f7f85bdef0290dae1510aac72a12a30b82d839d;hb=643e58b5e26c18f2cfc1c7b9aa676cb44feee847;hp=e0e64a3208ddd2255eeaed5bba4c951c6c95d301;hpb=eb9dbe2bc7656aed41ed207016746c983fcba4ef;p=virt-mem.git diff --git a/configure.ac b/configure.ac index e0e64a3..0f7f85b 100644 --- a/configure.ac +++ b/configure.ac @@ -17,9 +17,19 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(virt-mem,0.2.1) +AC_INIT(virt-mem,0.2.6) AC_PROG_INSTALL +AC_PROG_MKDIR_P + +dnl Check for an ANSI C compiler. +AC_GNU_SOURCE +AC_PROG_CC +AC_C_PROTOTYPES +test "x$U" != "x" && AC_MSG_ERROR(Compiler not ANSI compliant) +AC_PROG_CC_C_O + +AC_CHECK_FUNCS([memmem]) dnl Check for basic OCaml environment & findlib. AC_PROG_OCAML @@ -52,9 +62,9 @@ if test "x$pkg_xml_light" != "xyes"; then AC_MSG_ERROR([Cannot find required OCaml package 'xml-light']) fi -AC_CHECK_OCAML_PKG(bitmatch) -if test "x$pkg_bitmatch" != "xyes"; then - AC_MSG_ERROR([Cannot find required OCaml package 'bitmatch']) +AC_CHECK_OCAML_PKG(bitstring) +if test "x$pkg_bitstring" != "xyes"; then + AC_MSG_ERROR([Cannot find required OCaml package 'bitstring']) fi dnl Check for optional OCaml packages. @@ -65,7 +75,7 @@ AC_SUBST(pkg_unix) AC_SUBST(pkg_extlib) AC_SUBST(pkg_libvirt) AC_SUBST(pkg_xml_light) -AC_SUBST(pkg_bitmatch) +AC_SUBST(pkg_bitstring) AC_SUBST(pkg_gettext) AC_SUBST(pkg_csv) @@ -138,6 +148,8 @@ AC_CONFIG_FILES([Makefile lib/virt_mem_version.ml uname/Makefile dmesg/Makefile + ps/Makefile + mem/Makefile po/Makefile ]) AC_OUTPUT