X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=e5af7a955d074e44fda9f700f61073d5f8cead80;hb=ff1a10fc96e9d2174dc30b7b56ec6319c3ec6633;hp=b281e5e285a7a089cbfd8c25373242775766f411;hpb=49dfad6f1d108a10530ad8bd0de33e8fd3232bed;p=virt-mem.git diff --git a/configure.ac b/configure.ac index b281e5e..e5af7a9 100644 --- a/configure.ac +++ b/configure.ac @@ -17,11 +17,23 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(virt-mem,0.2.4) +AC_INIT(virt-mem,0.2.8) 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 Do we have pahole (from acme's "dwarves" library)? +AC_PATH_PROG(PAHOLE,pahole) + dnl Check for basic OCaml environment & findlib. AC_PROG_OCAML AC_PROG_FINDLIB @@ -53,22 +65,24 @@ 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. AC_CHECK_OCAML_PKG(gettext) AC_CHECK_OCAML_PKG(csv) +AC_CHECK_OCAML_PKG(xmlrpc-light) 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) +AC_SUBST(pkg_xmlrpc_light) dnl Check for optional perldoc (for building manual pages). AC_CHECK_PROG(HAVE_PERLDOC,perldoc,perldoc) @@ -139,6 +153,10 @@ AC_CONFIG_FILES([Makefile lib/virt_mem_version.ml uname/Makefile dmesg/Makefile + ps/Makefile + mem/Makefile po/Makefile + extract/fedora-koji/Makefile + extract/codegen/Makefile ]) AC_OUTPUT