extlib is needed for CIL tools subdir
authorRichard W.M. Jones <rich@annexia.org>
Tue, 1 Jul 2008 14:36:25 +0000 (14:36 +0000)
committerRichard W.M. Jones <rich@annexia.org>
Tue, 1 Jul 2008 14:36:25 +0000 (14:36 +0000)
Makefile.in
configure.ac

index a1a1eb6..e8fa403 100644 (file)
@@ -34,8 +34,10 @@ OCAMLDOCFLAGS        = -html -sort
 
 SUBDIRS                =
 ifneq ($(pkg_cil),no)
+ifneq ($(pkg_extlib),no)
 SUBDIRS                += cil-tools
 endif
+endif
 
 EXAMPLES       = $(patsubst %.ml,%,$(wildcard examples/*.ml))
 
index 4bd3b16..5d48fe4 100644 (file)
@@ -51,6 +51,10 @@ if test "x$CAMLP4OF" = "xno"; then
     AC_MSG_ERROR([You must have camlp4 installed])
 fi
 
+dnl Check for Extlib (optional)
+AC_CHECK_OCAML_PKG(extlib)
+AC_SUBST(pkg_extlib)
+
 dnl Check for CIL (optional)
 AC_CHECK_OCAML_PKG(cil)
 AC_SUBST(pkg_cil)