7.3 Loading the Combinat Library

According to whether or not the compiler directive DontNeedLibraryCombinat is set, we import an appropriate variant of the library. The variant depends on whether the assertion DEBUG is set.

ToDo 11 At the moment we only support the DEBUG and GMP version as an option. Only the additional library postfixes d (for debug) and -gmp are supported as a library variant, see Section 5.2.
51loading the library 51  (46)
#if DontNeedLibraryCombinat
-- Library is not needed, so don’t load it
#else

-- Selection of the appropriate portable object library
#if GMP
#library LibraryCombinat "combinat-gmp"
#elseif DEBUG
#library LibraryCombinat "combinatd"
#elseif Axiom
#library LibraryCombinat "combinatax"
#else
#library LibraryCombinat "combinat"
#endif

import from LibraryCombinat;
inline from LibraryCombinat;

#if Axiom
import from ACIntegerTools;
#endif

#endif

Defines:
DontNeedLibraryCombinat, used in chunks 54 and 569a.

Uses ACIntegerTools 591.