Statistics
| Branch: | Revision:

iof-bird / bird-2.0.1 / conf / gen_commands.m4 @ 6b3f1a54

History | View | Annotate | Download (639 Bytes)

1
m4_divert(-1)m4_dnl
2
#
3
#	BIRD -- Generator of CLI Command List
4
#
5
#	(c) 2000 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
6
#
7
#	Can be freely distributed and used under the terms of the GNU GPL.
8
#
9

    
10
m4_define(CF_CLI, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$3", "$4", 1 },
11
m4_divert(-1)')
12

    
13
m4_define(CF_CLI_CMD, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$2", "$3", 1 },
14
m4_divert(-1)')
15

    
16
m4_define(CF_CLI_HELP, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$2", "$3", 0 },
17
m4_divert(-1)')
18

    
19
# As we are processing C source, we must access all M4 primitives via
20
# m4_* and also set different quoting convention: `[[' and ']]'
21
m4_changequote([[,]])