add ifndef convenience macro
This commit is contained in:
parent
8e86e4e7a1
commit
06b9bd1a23
|
@ -11,6 +11,13 @@
|
|||
#
|
||||
define(`shiftn',`ifelse($1,0,`shift($*)',`shiftn(decr($1),shift(shift($*)))')')
|
||||
|
||||
#
|
||||
# ifndef(expr,true_block,false_block)
|
||||
#
|
||||
# m4 does not have this.
|
||||
#
|
||||
define(`ifndef',`ifdef(`$1',`$3',`$2')')
|
||||
|
||||
#
|
||||
# __endline__
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue