Link against standalone argp library
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 3 May 2015 23:25:39 +0000 (02:25 +0300)
committerMark Wielaard <mjw@redhat.com>
Mon, 4 May 2015 13:56:13 +0000 (15:56 +0200)
commit1ab3c2befeedf5bd891cfbe17cfef79c06e5079a
treee34cd57c43b8c4cb5e97bd3bb31096f29806814b
parent1ce4a45932cd01f0e8096f636adaa684b6f5c7cb
Link against standalone argp library

argp is not part of POSIX standards and not provided by uClibc or
some other standard C libraries.  However, it is possible to link
against a breakout argp library.  One is provided at

    http://www.lysator.liu.se/~nisse/misc/

This patch tests if libc provides argp otherwise it adds the linker
flag -largp where needed in the build system.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
ChangeLog
configure.ac
libdw/ChangeLog
libdw/Makefile.am
src/ChangeLog
src/Makefile.am
tests/ChangeLog
tests/Makefile.am