m4/ax_lib_elfutils.m4: use m4_default() for optional args.
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 2 Nov 2016 05:41:13 +0000 (01:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 26 May 2017 13:34:27 +0000 (09:34 -0400)
commit11343a4081fe9d8dac4c589c5f559f5c79ec52ba
tree1c6172b461b0bfe496fcc9d6fac23a639b3d3480
parent8d53d98523d8edd03d361f9c04209ec4cea1b4ab
m4/ax_lib_elfutils.m4: use m4_default() for optional args.

The current macro code does not work because, if you provide 4
arguments to the macro, then `true_action` is not defined (but
it should be: it's the third argument).

Use m4_default() here to expand to a default value if the
argument does not exist.

Also use [:] instead of [] (good practice, safer for shells).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
m4/ax_lib_elfutils.m4
This page took 0.025373 seconds and 4 git commands to generate.