Prerequisites
-------------

Both the Rocq proof assistant (>= 8.16) and the Flocq
library (>= 4.1, https://flocq.gitlabpages.inria.fr/) need to be installed.
In order to use the `gappa` tactic, Gappa also needs to be installed.

The `.tar.gz` file is distributed with a working set of configure files. They
are not in the git repository though. Consequently, if you are building from
git, you will need autoconf (>= 2.59).


Configuring, compiling, and installing
--------------------------------------

Ideally, you should just have to type:

    ./configure && ./remake -j2 && ./remake install

The `COQC` environment variable can be passed to the configure script in order
to set the Rocq compiler command. The configure script defaults to `coqc`.
If the `COQBIN` environment variable is set, the script defaults to `$COQBIN/coqc`.

The same OCaml environment used for compiling Rocq should be used for
compiling the tactic. It is found by calling `$COQC -config`. The `OCAMLFIND`
environment variable can be used to override this choice.

The library files are compiled at the logical location `Gappa`. The
`COQUSERCONTRIB` environment variable can be used to override the
physical location where the `Gappa` directory containing these files will
be installed by `./remake install`. By default, the target directory is
`` `$COQC -where`/user-contrib ``.
