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

Diff of /autoconf/lib/m4sugar/m4sugar.m4

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

revision 2.74 by akim, Thu Aug 21 17:25:31 2003 UTC revision 2.75 by akim, Fri Aug 22 13:38:34 2003 UTC
# Line 201  m4_define([m4_assert], Line 201  m4_define([m4_assert],
201         [m4_fatal([assert failed: $1], [$2])])])         [m4_fatal([assert failed: $1], [$2])])])
202    
203    
204    
205  ## ------------- ##  ## ------------- ##
206  ## 3. Warnings.  ##  ## 3. Warnings.  ##
207  ## ------------- ##  ## ------------- ##
208    
209    
210    # _m4_warn(CATEGORY, MESSAGE, STACK-TRACE)
211    # ----------------------------------------
212    # Report a MESSAGE to the user if the CATEGORY of warnings is enabled.
213    # This is for traces only.
214    # The STACK-TRACE is a \n-separated list of "LOCATION: MESSAGE".
215    m4_define([_m4_warn], [])
216    
217    
218  # m4_warn(CATEGORY, MESSAGE)  # m4_warn(CATEGORY, MESSAGE)
219  # --------------------------  # --------------------------
220  # Report a MESSAGE to the autoconf user if the CATEGORY of warnings  # Report a MESSAGE to the user if the CATEGORY of warnings is enabled.
221  # is requested (in fact, not disabled).  This is for traces only.  m4_define([m4_warn],
222  m4_define([m4_warn], [])  [_m4_warn([$1], [$2],
223    m4_ifdef([m4_expansion_stack],
224             [m4_defn([m4_expansion_stack])
225    m4_location[: the top level]]))
226    ])
227    
228    
229    

Legend:
Removed from v.2.74  
changed lines
  Added in v.2.75

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