Fix handling of OCAML_PKG_* macros for new OCaml autoconf.
[ocaml-bitstring.git] / README
1 ocaml-bitstring Copyright (C) 2008 Red Hat Inc, Richard W.M. Jones.
2
3 This library was formerly known as 'bitmatch'.
4
5 Please see the html subdirectory for developer documentation.
6
7 The only requirements are OCaml >= 3.10.0, camlp4, ocamldoc, and findlib.
8
9 If you optionally have CIL (http://cil.sourceforge.net/) installed
10 then there are some nice extra tools for converting C header files
11 into matchable OCaml structures.
12
13 To build:
14
15         ./configure
16         make
17
18 Other make targets:
19
20         make test               # build and run the test suite
21
22         make examples           # build the examples
23
24         make print-tests        # print expanded test macros
25         make print-examples     # print expanded example macros
26
27 To install (as root):
28
29         make install
30
31 LICENSE
32 ----------------------------------------------------------------------
33
34 The library is licensed under the LGPL v2 or later, with the OCaml
35 linking exception.  See the file COPYING.LIB for full terms.
36
37 Programs are licensed under the GPL v2 or later.  See the file COPYING
38 for full terms.
39
40 All examples and tests are public domain.