Added the function isFinite(), and replaced the calls to finite() with it.
This was necessary because finite() is not a standard function. Neither can
we use its standard counterpart isfinite(), because it was introduced only
in C99, and therefore it is not supplied by all C++ implementations.
13 tools_lgf_gen_SOURCES = tools/lgf-gen.cc
15 tools_dim_to_lgf_SOURCES = tools/dim_to_lgf.cc