Chapter 5. Conditional properties of packages

Table of Contents
The standard predicates
Defining additional predicates

The standard predicates

Settings in the META file suffice the general form:

varname ( predname1, predname2, ... ) = "value"

The names in the parantheses are called formal predicates and express a condition which must hold such that the value on the right side is selected. When querying information you can specify a set of actual predicates that are assumed to be true. There are the following standard predicates:

It is possible to have more predicates indicating different environments; just use them, it is not necessary to declare them anywhere.

The value which is selected for a variable depends on the set of assumed predicates. In order to get selected, all formal predicates must be included in the set of actual predicates; if still multiple values fulfill this condition, the value with the maximum number of formal predicates is used; and if still in doubt, the first of these in the META file is taken.

This rule has the advantage that it is a boolean "and-or" expression and that every condition can be formulated using it.