Next: Libraries Prev: Alternative Programs Up: Existing Tests
You might also need to check for the existence of files. Before using
these macros, ask yourself whether a runtime test might not be a better
solution. Be aware that, like most Autoconf macros, they test a feature
of the host machine, and therefore, they die when cross-compiling.
-- Macro: AC_CHECK_FILE (FILE, [ACTION-IF-FOUND],
Check whether file FILE exists on the native system. If it is
found, execute ACTION-IF-FOUND, otherwise do ACTION-IF-NOT-FOUND,
-- Macro: AC_CHECK_FILES (FILES, [ACTION-IF-FOUND],
Executes `AC_CHECK_FILE' once for each file listed in FILES.
Additionally, defines `HAVE_FILE' (Note: Standard Symbols) for
each file found.
automatically generated by info2www