GNU Info

Info Node: (autoconf.info)Files

(autoconf.info)Files


Next: Libraries Prev: Alternative Programs Up: Existing Tests
Enter node , (file) or (file)node

Files
=====

   You might also need to check for the existence of files.  Before
using these macros, ask yourself whether a run time 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], [ACTION-IF-NOT-FOUND])
     Check whether file FILE exists on the native system.  If it is
     found, execute ACTION-IF-FOUND, otherwise do ACTION-IF-NOT-FOUND,
     if given.

 - Macro: AC_CHECK_FILES (FILES, [ACTION-IF-FOUND],
          [ACTION-IF-NOT-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 version 1.2.2.9