Next: , Previous: guile-tools api-diff, Up: Miscellaneous Tools


13.7 guile-tools autofrisk

See Autofrisk, for discussion.

Usage: autofrisk [file]

This program looks for the file modules.af in the current directory
and writes out modules.af.m4 containing autoconf definitions.
If given, look for FILE instead of modules.af and output to FILE.m4.

After running autofrisk, you should add to configure.ac the lines:
  AUTOFRISK_CHECKS
  AUTOFRISK_SUMMARY
Then run "aclocal -I ." to update aclocal.m4, and finally autoconf.

The modules.af file consists of a series of configuration forms (Scheme
lists), which have one of the following formats:
  (files-glob PATTERN ...)
  (non-critical-external MODULE ...)
  (non-critical-internal MODULE ...)
  (programs (MODULE PROG ...) ...)
  (pww-varname VARNAME)
PATTERN is a string that may contain "*" and "?" characters to be
expanded into filenames.  MODULE is a list of symbols naming a
module, such as `(srfi srfi-1)'.  VARNAME is a shell-safe name to use
instead of "probably_wont_work", the default.  This var is passed to
`AC_SUBST'.  PROG is a string.

Only the `files-glob' form is required.  Forms may be commented out
entirely with the single-quote character (apostrophe).