autotools: try improving thread detection.
authorCedric BAIL <cedric.bail@samsung.com>
Tue, 18 Feb 2014 03:24:19 +0000 (12:24 +0900)
committerCedric BAIL <cedric.bail@samsung.com>
Tue, 18 Feb 2014 03:24:19 +0000 (12:24 +0900)
commit14c6378fc41906db14464e17aadc7d94a825fafd
treee1432e8d61c09150b874562e3fc63cb44a84236f
parent54129dfcaab5fb7674808f9202dfb5a2ea5bd609
autotools: try improving thread detection.

As already stated before reliably detecting CC, LIBS and CFLAGS parameters for
use with threads is still a pain in 2014. With this patch I am trying to solve
T880 and use ax_pthread.m4. Note that I do not trust this macro more than the
previous one, so if there is any build issue on any system regarding thread, I
may just rollback to the previous code. Still I hope it is an improvement and
that our build system detect thread more reliably.
m4/ax_pthread.m4 [new file with mode: 0644]
m4/efl.m4
m4/efl_threads.m4
pc/eina.pc.in