git.annexia.org
/
ocaml-bitstring.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renaming bitmatch -> bitstring.
[ocaml-bitstring.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
ab88542
..
36b6d26
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,4
+1,4
@@
-# Bit
match
syntax extension.
+# Bit
string
syntax extension.
# Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones
#
# This library is free software; you can redistribute it and/or
# Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones
#
# This library is free software; you can redistribute it and/or
@@
-17,7
+17,7
@@
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(ocaml-bit
match,1.3
)
+AC_INIT(ocaml-bit
string,1.9.7
)
dnl Check for basic C environment.
AC_PROG_CC
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
AC_PROG_CC_C_O
-dnl Check for endianness.
+dnl Check for
native
endianness.
AC_C_BIGENDIAN(
[NATIVEENDIAN=BigEndian],
[NATIVEENDIAN=LittleEndian],
AC_C_BIGENDIAN(
[NATIVEENDIAN=BigEndian],
[NATIVEENDIAN=LittleEndian],
@@
-51,7
+51,15
@@
if test "x$CAMLP4OF" = "xno"; then
AC_MSG_ERROR([You must have camlp4 installed])
fi
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)
+
dnl Produce output files.
AC_CONFIG_HEADERS([config.h])
dnl Produce output files.
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile META bit
match_config.ml
])
+AC_CONFIG_FILES([Makefile META bit
string_config.ml cil-tools/Makefile
])
AC_OUTPUT
AC_OUTPUT