Combined binary.
[virt-mem.git] / configure.ac
index b281e5e..15c5951 100644 (file)
@@ -22,6 +22,15 @@ AC_INIT(virt-mem,0.2.4)
 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
 AC_PROG_FINDLIB
@@ -139,6 +148,8 @@ AC_CONFIG_FILES([Makefile
        lib/virt_mem_version.ml
        uname/Makefile
        dmesg/Makefile
+       ps/Makefile
+       mem/Makefile
        po/Makefile
        ])
 AC_OUTPUT