/[autoconf]/autoconf/lib/autoconf/autoupdate.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/autoupdate.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by akim, Thu May 22 15:17:05 2003 UTC revision 1.4 by bonzini, Mon Nov 24 10:40:59 2003 UTC
# Line 50  Line 50 
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
# Line 77  m4_define([AU_DEFINE], Line 67  m4_define([AU_DEFINE],
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)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26