[PATCH 1/2] Allow building the libraries without argp

2017-02-20 Thread Ulf Hermann
If argp is unavailable we cannot build tests, tools and argp-std.c in libdwfl. We can still build the libraries, though. Test for this and provide a dwfl_standard_argp() that just returns NULL and only gets compiled if argp is missing. Signed-off-by: Ulf Hermann --- ChangeLog| 12 +++

[PATCH 2/2] Output information about buildable components

2017-02-20 Thread Ulf Hermann
If argp is missing we build without tools and tests. We might also make libasm optional in the future, as it is only used in maintainer mode. A libelf-only build without libdw and the ebl backends is also feasible. The user should be notified about what is actually buildable with a given configura