Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-09-09 18:32:03 -0700 (Fri, 09 Sep 2005)
Revision: 1495
Log message:
A number of configure updates:
- Split variables like "READLINE_ENABLED" into "READLINE_AVAILABLE"
(determined by a configure test) and the real "READLINE_ENABLED" (defaults
to $(READLINE_AVAILABLE) but is ultimately determined by the .config
setting.
- When READLINE_AVAILABLE is false, do not offer READLINE_ENABLED in the
.config (instead place a comment saying that readline is not available).
- Created a CheckProgram function in Configure.om, updated the configure
tests for latex2man, groff, latex programs to use CheckProgram.
- Based on the static CheckProgram test for gcc, set CC=gcc if it's available
(and otherwise leave CC=cc, as before).