50 |
# Roland McGrath, Noah Friedman, david d zuhn, and many others. |
# Roland McGrath, Noah Friedman, david d zuhn, and many others. |
51 |
|
|
52 |
|
|
53 |
## --------------------------------- ## |
## ----------------------------------- ## |
54 |
## Defining macros in autoupdate::. ## |
## Defining macros to be autoupdated. ## |
55 |
## --------------------------------- ## |
## ----------------------------------- ## |
56 |
|
|
57 |
|
|
58 |
# AU_DEFINE(NAME, GLUE-CODE, [MESSAGE]) |
# AU_DEFUN(NAME, NEW-CODE) |
|
# ------------------------------------- |
|
|
# |
|
|
# Declare `autoupdate::NAME' to be `GLUE-CODE', with all the needed |
|
|
# wrapping actions required by `autoupdate'. |
|
|
# We do not define anything in `autoconf::'. |
|
|
m4_define([AU_DEFINE], |
|
|
[AC_DEFUN([$1], [$2])]) |
|
|
|
|
|
|
|
|
# AU_DEFUN(NAME, NEW-CODE, [MESSAGE]) |
|
59 |
# ----------------------------------- |
# ----------------------------------- |
60 |
# Declare that the macro NAME is now obsoleted, and should be replaced |
# Declare that the macro NAME is now obsoleted, and should be replaced |
61 |
# by NEW-CODE. Tell the user she should run autoupdate, and include |
# by NEW-CODE. Tell the user she should run autoupdate, and include |
67 |
# and to update a configure.ac. |
# and to update a configure.ac. |
68 |
# See `acobsolete.m4' for a longer description. |
# See `acobsolete.m4' for a longer description. |
69 |
m4_define([AU_DEFUN], |
m4_define([AU_DEFUN], |
70 |
[AU_DEFINE([$1], |
[AC_DEFUN([$1], |
71 |
[AC_DIAGNOSE([obsolete], [The macro `$1' is obsolete. |
[AC_DIAGNOSE([obsolete], [The macro `$1' is obsolete. |
72 |
You should run autoupdate.])dnl |
You should run autoupdate.])dnl |
73 |
$2], |
$2])]) |
|
[$3])dnl |
|
|
]) |
|
74 |
|
|
75 |
|
|
76 |
# AU_ALIAS(OLD-NAME, NEW-NAME) |
# AU_ALIAS(OLD-NAME, NEW-NAME) |