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