mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
* doc/autoconf.texi (Configuration Commands): Document
AC_CONFIG_COMMANDS_PRE and _POST. * doc/autoconf.texi (Configuration Commands): Document AC_CONFIG_COMMANDS_PRE and _POST.
This commit is contained in:
parent
6b6d1788b1
commit
42174dc725
10
ChangeLog
10
ChangeLog
@ -1,5 +1,15 @@
|
||||
2000-03-01 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* doc/autoconf.texi (Configuration Commands): Document
|
||||
AC_CONFIG_COMMANDS_PRE and _POST.
|
||||
|
||||
2000-02-29 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* doc/autoconf.texi (Configuration Commands): Document
|
||||
AC_CONFIG_COMMANDS_PRE and _POST.
|
||||
|
||||
2000-02-27 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Test suite: more debugging information.
|
||||
|
||||
* tests/atspecific.m4 (AT_TEST_MACRO): When verbose, report the
|
||||
|
@ -1559,8 +1559,9 @@ Print the version number of Autoconf and exit.
|
||||
@node Configuration Commands, Configuration Links, Configuration Headers, Setup
|
||||
@section Running Arbitrary Configuration Commands
|
||||
|
||||
You may have to execute arbitrary commands when @file{config.status} is
|
||||
run. This macro may be called multiple times.
|
||||
You may have to execute arbitrary commands either before, when and after
|
||||
@file{config.status} is run. The three following macros accumulate the
|
||||
commands to run when they are called multiple times.
|
||||
|
||||
@defmac AC_CONFIG_COMMANDS (@var{tag}@dots{}, @ovar{cmds}, @ovar{init-cmds})
|
||||
@maindex CONFIG_COMMANDS
|
||||
@ -1584,6 +1585,25 @@ AC_CONFIG_COMMANDS(time-stamp, [date >time-stamp])
|
||||
@end example
|
||||
@end defmac
|
||||
|
||||
@defmac AC_CONFIG_COMMANDS_PRE(@var{cmds})
|
||||
@maindex OUTPUT_COMMANDS_PRE
|
||||
Execute the @var{cmds} right before creating @file{config.status}. A
|
||||
typical use is computing values derived from variables built during the
|
||||
execution of @code{configure}:
|
||||
|
||||
@example
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
|
||||
AC_SUBST(LTLIBOBJS)])
|
||||
@end example
|
||||
@end defmac
|
||||
|
||||
@defmac AC_CONFIG_COMMANDS_POST(@var{cmds})
|
||||
@maindex OUTPUT_COMMANDS_POST
|
||||
Execute the @var{cmds} right after creating @file{config.status}.
|
||||
@end defmac
|
||||
|
||||
|
||||
The former interface to execute arbitrary commands is described below.
|
||||
|
||||
@defmac AC_OUTPUT_COMMANDS (@var{extra-cmds}, @ovar{init-cmds})
|
||||
|
Loading…
Reference in New Issue
Block a user