~ubuntu-branches/ubuntu/quantal/autoconf/quantal

« back to all changes in this revision

Viewing changes to lib/m4sugar/m4sugar.m4

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-05-01 11:43:17 UTC
  • mfrom: (4.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110501114317-jqvwkiu7m773n2i0
Tags: 2.68-1ubuntu1
* Merge with Debian; remaining changes:
  - bin/autoreconf.in: Check whether libtoolize supports --install, if it
    does, libtoolize is safe to run at all times since it will not install
    new files unless --install is passed to it as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
## ------------- ##
232
232
 
233
233
 
234
 
# _m4_warn(CATEGORY, MESSAGE, STACK-TRACE)
235
 
# ----------------------------------------
 
234
# _m4_warn(CATEGORY, MESSAGE, [STACK-TRACE])
 
235
# ------------------------------------------
236
236
# Report a MESSAGE to the user if the CATEGORY of warnings is enabled.
237
237
# This is for traces only.
238
 
# The STACK-TRACE is a \n-separated list of "LOCATION: MESSAGE".
 
238
# If present, STACK-TRACE is a \n-separated list of "LOCATION: MESSAGE",
 
239
# where the last line (and no other) ends with "the top level".
239
240
#
240
241
# Within m4, the macro is a no-op.  This macro really matters
241
242
# when autom4te post-processes the trace output.
1973
1974
# m4_defun'd, we can add a parameter, similar to the third parameter
1974
1975
# to m4_defun.
1975
1976
m4_define([m4_defun_init],
1976
 
[m4_define([$1], [$3])m4_defun([$1],
 
1977
[m4_define([$1], [$3[]])m4_defun([$1],
1977
1978
   [$2[]_m4_popdef(]m4_dquote($[0])[)m4_indir(]m4_dquote($[0])dnl
1978
1979
[m4_if(]m4_dquote($[#])[, [0], [], ]m4_dquote([,$]@)[))], [m4_pushdef])])
1979
1980