autotools: improve libunwind detection
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 28 May 2016 11:07:22 +0000 (13:07 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 28 May 2016 17:13:10 +0000 (19:13 +0200)
commit0193600e486759f4b0524b520e9128c2a3d19cbd
treefc505136086f514323db80a15e735f3c2ce51e7c
parent01c7fd7cda1f89c8c0257c97f9822e40c4fb2df8
autotools: improve libunwind detection

Libuwind may not be shipped with a pkg-config file.
It can be distributed on the system, but the autotools
would fail to detect it because it relied only on pkg-config.

We now first check with pkg-config, and then try to compile and
link a program using libuwind to see if it is supported anyway.

This is a first step towards a working eina_log_backtrace on
Mac OS X.
configure.ac
m4/efl_libunwind.m4 [new file with mode: 0644]