Install msysDTK-1.0.1
[msysgit.git] / share / autoconf / m4sugar / m4sugar.m4f
blob131fa8b1b79af91fb81b3541b6a519cd3af001c6
1 # This is a frozen state file generated by GNU m4 1.4
2 V1
3 Q1,1
4 []
5 F9,6
6 m4_formatformat
7 F14,11
8 m4_changequotechangequote
9 T10,117
10 m4_re_wordabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789*
11 T10,54
12 m4_includem4_include_unique([$1])dnl
13 m4_builtin([include], [$1])
14 T12,10
15 m4_cr_digits0123456789
16 T7,78
17 m4_signm4_bmatch([$1],
18            [^-], -1,
19            [^0+], 0,
20                   1)
21 T11,17
22 m4_location__file__:__line__
23 T11,174
24 m4_text_box@%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@
25 @%:@@%:@ $1 @%:@@%:@
26 @%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@[]dnl
28 T10,52
29 m4_flattenm4_translit(m4_bpatsubst([[[$1]]], [\\
30 ]), [
31 ], [ ])
32 F11,8
33 m4_traceofftraceoff
34 T6,342
35 m4_form4_case(m4_sign(m4_eval($3 - $2)),
36          1, [m4_assert(m4_sign(m4_default($4, 1)) == 1)],
37         -1, [m4_assert(m4_sign(m4_default($4, -1)) == -1)])dnl
38 m4_pushdef([$1], [$2])dnl
39 m4_if(m4_eval([$3 > $2]), 1,
40       [_m4_for([$1], [$3], m4_default([$4], 1), [$5])],
41       [_m4_for([$1], [$3], m4_default([$4], -1), [$5])])dnl
42 m4_popdef([$1])
43 T12,55
44 m4_copy_unm4m4_copy([$1], m4_bpatsubst([$1], [^m4_\(.*\)], [[\1]]))
45 F7,6
46 m4_wrapm4wrap
47 T7,122
48 m4_casem4_if([$#], 0, [],
49        [$#], 1, [],
50        [$#], 2, [$2],
51        [$1], [$2], [$3],
52        [$0([$1], m4_shiftn(3, $@))])
53 T17,135
54 _m4_dumpdefs_downm4_ifdef([_m4_dumpdefs],
55           [m4_pushdef([$1], m4_defn([_m4_dumpdefs]))dnl
56 m4_popdef([_m4_dumpdefs])dnl
57 _m4_dumpdefs_down([$1])])
58 F9,6
59 m4_substrsubstr
60 T6,2
61 m4_fst$1
62 T24,50
63 _m4_warning_error_ifelse__m4_warning_error_ifelse([$1], [$2], m4_warnings)
64 T11,200
65 _m4_foreachm4_if([$2], [[]], [],
66        [m4_define([$1], m4_car($2))$3[]_m4_foreach([$1],
67                                                    m4_cdr($2),
68                                                    [$3])])
69 T10,0
70 m4_symbols
71 T30,0
72 m4_include(m4sugar/version.m4)
73 T20,20
74 m4_PACKAGE_BUGREPORTbug-autoconf@gnu.org
75 T9,147
76 m4_bmatchm4_if([$#], 0, [],
77        [$#], 1, [],
78        [$#], 2, [$2],
79        [m4_if(m4_bregexp([$1], [$2]), -1, [$0([$1], m4_shiftn(3, $@))],
80               [$3])])
81 T8,228
82 m4_splitm4_changequote(``, '')dnl
83 [dnl Can't use m4_default here instead of m4_if, because m4_default uses
84 dnl [ and ] as quotes.
85 m4_bpatsubst(````$1'''',
86              m4_if(``$2'',, ``[         ]+'', ``$2''),
87              ``], ['')]dnl
88 m4_changequote([, ])
89 T14,153
90 m4_append_uniqm4_ifdef([$1],
91           [m4_bmatch([$3]m4_defn([$1])[$3], m4_re_escape([$3$2$3]), [],
92                      [m4_append($@)])],
93           [m4_append($@)])
94 T18,8
95 m4_PACKAGE_TARNAMEautoconf
96 T11,243
97 m4_list_cmpm4_if([$1$2], [()()], 0,
98        [$1], [()], [$0((0), [$2])],
99        [$2], [()], [$0([$1], (0))],
100        [m4_case(m4_cmp(m4_car$1, m4_car$2),
101                 -1, -1,
102                  1, 1,
103                  0, [$0((m4_shift$1), (m4_shift$2))])])
104 T22,31
105 m4_expansion_stack_popm4_popdef([m4_expansion_stack])
106 T10,82
107 _m4_divertm4_ifdef([_m4_divert($1)],
108           [m4_indir([_m4_divert($1)])],
109           [$1])
110 T10,683
111 m4_requirem4_expansion_stack_push(m4_location[: $1 is required by...])dnl
112 m4_ifdef([_m4_expanding($1)],
113          [m4_fatal([$0: circular dependency of $1])])dnl
114 m4_ifndef([_m4_divert_dump],
115           [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
116 m4_provide_if([$1],
117               [],
118               [m4_divert_push(m4_eval(m4_divnum - 1))dnl
119 m4_default([$2], [$1])
120 m4_divert(m4_defn([_m4_divert_dump]))dnl
121 m4_undivert(m4_defn([_m4_divert_diversion]))dnl
122 m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
123 m4_provide_if([$1],
124               [],
125               [m4_warn([syntax],
126                        [$1 is m4_require'd but is not m4_defun'd])])dnl
127 m4_expansion_stack_pop()dnl
129 T19,449
130 m4_version_unletterm4_translit(m4_bpatsubsts([$1],
131                            [\([0-9]+\)\([abcdefghi]\)],
132                              [m4_eval(\1 + 1).-1.\2],
133                            [\([0-9]+\)\([jklmnopqrs]\)],
134                              [m4_eval(\1 + 1).-1.1\2],
135                            [\([0-9]+\)\([tuvwxyz]\)],
136                              [m4_eval(\1 + 1).-1.2\2]),
137              [abcdefghijklmnopqrstuvwxyz],
138              [12345678901234567890123456])
139 T7,41
140 m4_warnm4_warning_ifelse([$1], [_m4_warn([$2])])
141 T17,0
142 m4_pattern_forbid
143 T9,166
144 m4_divertm4_define([m4_divert_stack],
145            m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
146 m4_defn([m4_divert_stack])]))dnl
147 m4_builtin([divert], _m4_divert([$1]))dnl
149 T18,114
150 m4_version_comparem4_list_cmp((m4_split(m4_version_unletter([$1]), [\.])),
151              (m4_split(m4_version_unletter([$2]), [\.])))
152 T7,0
153 __gnu__
154 F9,6
155 m4_syscmdsyscmd
156 T13,52
157 m4_cr_LettersabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
158 T16,5
159 _m4_divert(GROW)10000
160 T12,64
161 m4_re_stringabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789*
162 T20,60
163 m4_location(m4_join)/prjz/msys/dtk/src/autoconf-2.56/lib/m4sugar/m4sugar.m4:1537
164 F8,8
165 __file____file__
166 T9,65
167 m4_appendm4_define([$1],
168            m4_ifdef([$1], [m4_defn([$1])$3])[$2])
169 T10,69
170 m4_tolowerm4_translit([$1], m4_defn([m4_cr_LETTERS]), m4_defn([m4_cr_letters]))
171 T17,49
172 m4_warning_ifelse_m4_warning_ifelse([$1], [$2], [$3], m4_warnings)
173 T8,101
174 m4_fatalm4_errprintn(m4_location[: error: $1])dnl
175 m4_expansion_stack_dump()dnl
176 m4_exit(m4_if([$2],, 1, [$2]))
177 F9,6
178 m4_definedefine
179 F11,8
180 m4_translittranslit
181 T9,65
182 m4_ifvalnm4_if([$1],
183        [],   [m4_n([$3])],
184              [m4_n([$2])])
185 T12,24
186 m4_rename_m4m4_rename([$1], [m4_$1])
187 T13,296
188 _m4_defun_prom4_expansion_stack_push(m4_defn([m4_location($1)])[: $1 is expanded from...])dnl
189 m4_pushdef([_m4_expanding($1)])dnl
190 m4_ifdef([_m4_divert_dump],
191          [m4_divert_push(m4_defn([_m4_divert_diversion]))],
192          [m4_copy([_m4_divert_diversion], [_m4_divert_dump])dnl
193 m4_divert_push([GROW])])dnl
195 F7,4
196 m4_decrdecr
197 F10,7
198 m4_pushdefpushdef
199 F9,6
200 m4_divnumdivnum
201 T14,53
202 m4_cr_symbols1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
203 T14,63
204 m4_cr_symbols2abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789
205 T13,26
206 m4_cr_lettersabcdefghijklmnopqrstuvwxyz
207 T14,44
208 m4_divert_oncem4_expand_once([m4_divert_text([$1], [$2])])
209 T9,82
210 m4_beforem4_provide_if([$2],
211                [m4_warn([syntax], [$2 was called before $1])])
212 T7,91
213 m4_defnm4_ifndef([$1],
214            [m4_fatal([$0: undefined macro: $1])])dnl
215 m4_builtin([defn], $@)
216 T11,55
217 m4_sincludem4_include_unique([$1])dnl
218 m4_builtin([sinclude], [$1])
219 F11,8
220 m4_errprinterrprint
221 T13,239
222 m4_defun_oncem4_define([m4_location($1)], m4_location)dnl
223 m4_define([$1],
224           [m4_provide_if([$1],
225                          [m4_warn([syntax], [$1 invoked multiple times])],
226                          [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
227 T8,80
228 m4_ifsetm4_ifdef([$1],
229           [m4_if(m4_defn([$1]), [], [$3], [$2])],
230           [$3])
231 T6,4
232 m4_car[$1]
233 T10,46
234 m4_foreachm4_pushdef([$1])_m4_foreach($@)m4_popdef([$1])
235 F9,6
236 m4_sysvalsysval
237 F7,4
238 m4_evaleval
239 F12,9
240 m4_debugmodedebugmode
241 T16,0
242 m4_pattern_allow
243 T14,129
244 m4_expand_oncem4_provide_if(m4_ifval([$2], [[$2]], [[$1]]),
245                [],
246                [m4_provide(m4_ifval([$2], [[$2]], [[$1]]))[]$1])
247 T12,18
248 m4_errprintnm4_errprint([$1
250 T6,23
251 m4_cdrm4_dquote(m4_shift($@))
252 T12,981
253 m4_text_wrapm4_pushdef([m4_Prefix], m4_default([$2], []))dnl
254 m4_pushdef([m4_Prefix1], m4_default([$3], [m4_Prefix]))dnl
255 m4_pushdef([m4_Width], m4_default([$4], 79))dnl
256 m4_pushdef([m4_Cursor], m4_len(m4_Prefix1))dnl
257 m4_pushdef([m4_Separator], [])dnl
258 m4_Prefix1[]dnl
259 m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
260       1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
261 m4_Prefix])[]dnl
262 m4_foreach([m4_Word], m4_quote(m4_split(m4_normalize([$1]))),
263 [m4_define([m4_Cursor], m4_eval(m4_Cursor + m4_len(m4_defn([m4_Word])) + 1))dnl
264 dnl New line if too long, else insert a space unless it is the first
265 dnl of the words.
266 m4_if(m4_eval(m4_Cursor > m4_Width),
267       1, [m4_define([m4_Cursor],
268                     m4_eval(m4_len(m4_Prefix) + m4_len(m4_defn([m4_Word])) + 1))]
269 m4_Prefix,
270        [m4_Separator])[]dnl
271 m4_defn([m4_Word])[]dnl
272 m4_define([m4_Separator], [ ])])dnl
273 m4_popdef([m4_Separator])dnl
274 m4_popdef([m4_Cursor])dnl
275 m4_popdef([m4_Width])dnl
276 m4_popdef([m4_Prefix1])dnl
277 m4_popdef([m4_Prefix])dnl
279 T14,109
280 m4_file_appendm4_syscmd([cat >>$1 <<_m4eof
282 _m4eof
284 m4_if(m4_sysval, [0], [],
285       [m4_fatal([$0: cannot write: $1])])
286 F8,5
287 m4_ifdefifdef
288 F7,4
289 m4_incrincr
290 T4,44
291 m4_nm4_if([$1],
292        [], [],
293            [$1
295 T18,4
296 m4_PACKAGE_VERSION2.56
297 T9,69
298 m4_assertm4_if(m4_eval([$1]), 0,
299        [m4_fatal([assert failed: $1], [$2])])
300 T14,228
301 m4_divert_pushm4_pushdef([m4_divert_stack],
302             m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
303 m4_defn([m4_divert_stack])]))dnl
304 m4_pushdef([_m4_divert_diversion], [$1])dnl
305 m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
307 T8,0
308 __unix__
309 T5,70
310 m4_dom4_if($#, 0, [],
311        $#, 1, [$1],
312        [$1[]m4_do(m4_shift($@))])
313 T17,32
314 m4_define_defaultm4_ifndef([$1], [m4_define($@)])
315 F8,8
316 __line____line__
317 T9,26
318 m4_ifndefm4_ifdef([$1], [$3], [$2])
319 T17,17
320 m4_PACKAGE_STRINGGNU Autoconf 2.56
321 F11,8
322 m4_maketempmaketemp
323 T11,40
324 m4_undivertm4_builtin([undivert], _m4_divert([$1]))
325 T18,184
326 _m4_warning_ifelsem4_case([$4],
327          [$1],    [$2],
328          [all],   [$2],
329          [],      [$3],
330          [none],  [$3],
331          [no-$1], [$3],
332          [$0([$1], [$2], [$3], m4_shiftn(4, $@))])
333 F5,6
334 m4_ififelse
335 T8,4
336 m4_quote[$*]
337 F8,5
338 m4_indexindex
339 F12,8
340 m4_bpatsubstpatsubst
341 T7,390
342 m4_init# All the M4sugar macros start with `m4_', except `dnl' kept as is
343 # for sake of simplicity.
344 m4_pattern_forbid([^_?m4_])
345 m4_pattern_forbid([^dnl$])
347 # Check the divert push/pop perfect balance.
348 m4_wrap([m4_ifdef([_m4_divert_diversion],
349                   [m4_fatal([$0: unbalanced m4_divert_push:]
350 m4_defn([m4_divert_stack]))])[]])
352 m4_divert_push([KILL])
353 m4_wrap([m4_divert_pop([KILL])[]])
355 T9,93
356 m4_popdefm4_ifndef([$1],
357            [m4_fatal([$0: undefined macro: $1])])dnl
358 m4_builtin([popdef], $@)
359 T6,27
360 m4_cmpm4_sign(m4_eval([$1 - $2]))
361 F6,3
362 m4_lenlen
363 T8,88
364 _m4_warn_m4_warning_error_ifelse([m4_fatal([$1])],
365                           [m4_warning([$1])])
366 T9,36
367 m4_renamem4_copy([$1], [$2])m4_undefine([$1])
368 T14,50
369 m4_divert_textm4_divert_push([$1])dnl
371 m4_divert_pop([$1])dnl
373 F8,5
374 m4_indirindir
375 T13,26
376 m4_cr_LETTERSABCDEFGHIJKLMNOPQRSTUVWXYZ
377 T10,54
378 m4_noquotem4_changequote(-=<{,}>=-)$1-=<{}>=-m4_changequote([,])
379 T16,2
380 _m4_divert(KILL)-1
381 T17,188
382 m4_version_prereqm4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), -1,
383        [m4_default([$3],
384                    [m4_fatal([Autoconf version $1 or higher is required])])],
385        [$2])[]dnl
387 F8,5
388 m4_shiftshift
389 T10,40
390 m4_warningm4_errprintn(m4_location[: warning: $1])
391 T6,76
392 m4_mapm4_if([$2], [[]], [],
393        [$1(m4_fst($2))[]dnl
394 m4_map([$1], m4_cdr($2))])
395 T13,439
396 m4_divert_popm4_ifval([$1],
397      [m4_if(_m4_divert([$1]), m4_divnum, [],
398             [m4_fatal([$0($1): diversion mismatch: ]
399 m4_defn([m4_divert_stack]))])])dnl
400 m4_popdef([_m4_divert_diversion])dnl
401 dnl m4_ifndef([_m4_divert_diversion],
402 dnl           [m4_fatal([too many m4_divert_pop])])dnl
403 m4_builtin([divert],
404            m4_ifdef([_m4_divert_diversion],
405                     [_m4_divert(_m4_divert_diversion)], -1))dnl
406 m4_popdef([m4_divert_stack])dnl
408 T23,133
409 m4_expansion_stack_dumpm4_ifdef([m4_expansion_stack],
410           [m4_errprintn(m4_defn([m4_expansion_stack]))])dnl
411 m4_errprintn(m4_location[: the top level])
412 T10,137
413 m4_map_sepm4_if([$3], [[]], [],
414        [$1(m4_fst($3))[]dnl
415 m4_if(m4_cdr($3),
416       [[]], [],
417       [$2])[]dnl
418 m4_map_sep([$1], [$2], m4_cdr($3))])
419 T11,95
420 m4_undefinem4_ifndef([$1],
421            [m4_fatal([$0: undefined macro: $1])])dnl
422 m4_builtin([undefine], $@)
423 F10,7
424 m4_traceontraceon
425 T7,101
426 _m4_for$4[]dnl
427 m4_if($1, [$2], [],
428       [m4_define([$1], m4_eval($1+[$3]))_m4_for([$1], [$2], [$3], [$4])])
429 F3,3
430 dnldnl
431 T8,27
432 m4_ifvalm4_if([$1], [], [$3], [$2])
433 T11,48
434 m4_dumpdefs_m4_dumpdefs_up([$1])dnl
435 _m4_dumpdefs_down([$1])
436 F12,9
437 m4_changecomchangecom
438 T10,27
439 m4_providem4_define([m4_provide($1)])
440 T10,26
441 m4_defaultm4_ifval([$1], [$1], [$2])
442 T7,150
443 m4_join_m4_defun_pro([m4_join])m4_case([$#],
444          [1], [],
445          [2], [[$2]],
446          [[$2][$1]$0([$1], m4_shiftn(2, $@))])[]_m4_defun_epi([m4_join])
447 T13,48
448 m4_provide_ifm4_ifdef([m4_provide($1)],
449           [$2], [$3])
450 F10,7
451 m4_esyscmdesyscmd
452 F10,7
453 m4_builtinbuiltin
454 F10,6
455 m4_bregexpregexp
456 T12,26
457 m4_normalizem4_strip(m4_flatten([$1]))
458 T8,116
459 m4_defunm4_define([m4_location($1)], m4_location)dnl
460 m4_define([$1],
461           [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
462 F12,9
463 m4_debugfiledebugfile
464 T25,139
465 __m4_warning_error_ifelsem4_case([$3],
466          [error],    [$1],
467          [],         [$2],
468          [no-error], [$2],
469          [$0([$1], [$2], m4_shiftn(3, $@))])
470 T7,30
471 m4_copym4_define([$2], m4_defn([$1]))
472 T9,4
473 m4_dquote[$@]
474 T10,69
475 m4_toupperm4_translit([$1], m4_defn([m4_cr_letters]), m4_defn([m4_cr_LETTERS]))
476 T10,99
477 _m4_shiftnm4_if([$1], 0,
478        [m4_shift($@)],
479        [_m4_shiftn(m4_eval([$1]-1), m4_shift(m4_shift($@)))])
480 F7,6
481 m4_exitm4exit
482 T17,124
483 m4_include_uniquem4_ifdef([m4_include($1)],
484           [m4_warn([syntax], [file `$1' included several times])])dnl
485 m4_define([m4_include($1)])
486 T23,114
487 m4_expansion_stack_pushm4_pushdef([m4_expansion_stack],
488             [$1]m4_ifdef([m4_expansion_stack], [
489 m4_defn([m4_expansion_stack])]))
490 T12,51
491 m4_re_escapem4_bpatsubst([$1],
492               [[][+*.]], [\\\&])
493 T9,51
494 m4_shiftnm4_assert(($1 >= 0) && ($# > $1))dnl
495 _m4_shiftn($@)
496 F10,7
497 m4_dumpdefdumpdef
498 T8,122
499 m4_stripm4_bpatsubsts([[$1]],
500                [[       ]+], [ ],
501                [^\(..\) ],    [\1],
502                [ \(..\)$],    [\1])
503 T13,248
504 m4_bpatsubstsm4_if([$#], 0, [m4_fatal([$0: too few arguments: $#])],
505        [$#], 1, [m4_fatal([$0: too few arguments: $#: $1])],
506        [$#], 2, [m4_builtin([patsubst], $@)],
507        [$0(m4_builtin([patsubst], [[$1]], [$2], [$3]),
508            m4_shiftn(3, $@))])
509 T15,12
510 m4_PACKAGE_NAMEGNU Autoconf
511 T13,212
512 _m4_defun_epim4_divert_pop()dnl
513 m4_if(_m4_divert_dump, _m4_divert_diversion,
514       [m4_undivert([GROW])dnl
515 m4_undefine([_m4_divert_dump])])dnl
516 m4_expansion_stack_pop()dnl
517 m4_popdef([_m4_expanding($1)])dnl
518 m4_provide([$1])dnl
520 T15,133
521 _m4_dumpdefs_upm4_ifdef([$1],
522           [m4_pushdef([_m4_dumpdefs], m4_defn([$1]))dnl
523 m4_dumpdef([$1])dnl
524 m4_popdef([$1])dnl
525 _m4_dumpdefs_up([$1])])
526 D-1,0
528 # End of frozen state file