8846 |
|
|
8847 |
Autoconf provides a simple means to obsolete a macro. |
Autoconf provides a simple means to obsolete a macro. |
8848 |
|
|
8849 |
@defmac AU_DEFUN (@var{old-macro}, @var{implementation}) |
@defmac AU_DEFUN (@var{old-macro}, @var{implementation}, @ovar{message}) |
8850 |
@acindex{DEFUN} |
@acindex{DEFUN} |
8851 |
@acindex{AU_DEFUN} |
@acindex{AU_DEFUN} |
8852 |
Define @var{old-macro} as @var{implementation}. The only difference |
Define @var{old-macro} as @var{implementation}. The only difference |
8853 |
with @code{AC_DEFUN} is that the user will be warned that |
with @code{AC_DEFUN} is that the user will be warned that |
8854 |
@var{old-macro} is now obsolete; if she then uses @command{autoupdate}, |
@var{old-macro} is now obsolete. |
|
the call to @var{old-macro} will be replaced by the modern |
|
|
@var{implementation}. |
|
8855 |
|
|
8856 |
Note that you can provide another definition with @code{AC_DEFUN} in |
If she then uses @command{autoupdate}, the call to @var{old-macro} will be |
8857 |
order to update the way a macro is used without making it completely |
replaced by the modern @var{implementation}. In the future, |
8858 |
obsolete. |
@command{autoupdate} will then print the additional @var{message}. |
8859 |
@end defmac |
@end defmac |
8860 |
|
|
8861 |
@node Coding Style |
@node Coding Style |