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:12:15 +0000 (09:12 -0400)
commit23f88ce2911775fcbaaef422fa31cbcfcb79d920
tree723df0f69bee954aa1d0e7e200f8e43a7134c6ee
parentffa3b3ba8c5868e27965c801d3986965ab35eed6
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.024477 seconds and 4 git commands to generate.