Node:Configuration Links, Next:Subdirectories, Previous:Configuration Commands, Up:Setup
You may find it convenient to create links whose destinations depend upon
results of tests. One can use AC_CONFIG_COMMANDS
but the
creation of relative symbolic links can be delicate when the package is
built in another directory than its sources.
AC_CONFIG_LINKS (dest:source..., [cmds], [init-cmds]) | Macro |
Make AC_OUTPUT link each of the existing files source to
the corresponding link name dest. Makes a symbolic link if
possible, otherwise a hard link. The dest and source names
should be relative to the top level source or build directory. This
macro is one of the instantiating macros, see Configuration Actions.
For example, this call:
AC_CONFIG_LINKS(host.h:config/$machine.h object.h:config/$obj_format.h) creates in the current directory The tempting value One can then run:
./config.status host.h object.h to create the links. |