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:14:16 +0000 (19:14 +0200)
commitfc74475415e3f0c90b20b54302e6694850f5c3ff
tree4fe7adb21ea63654e87eaa7f4d6ee2afa3bf7134
parent0193600e486759f4b0524b520e9128c2a3d19cbd
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.
Makefile.am