Re: [PATCH weston] build: Add (and use) an AC_SEARCH_LIBS wrapper

2016-04-22 Thread Pekka Paalanen
On Fri, 22 Apr 2016 12:14:16 +0200 Quentin Glidic wrote: > From: Quentin Glidic > Hi Quentin, you should explain here why we need this. Not for me, it's for posterity, anyone searching about why on earth did we add this stuff. :-) > Signed-off-by: Quentin Glidic > --- > > Not too much Auto

Re: [PATCH weston] build: Add (and use) an AC_SEARCH_LIBS wrapper

2016-04-22 Thread Gustavo Zacarias
On 22/04/16 07:14, Quentin Glidic wrote: From: Quentin Glidic Signed-off-by: Quentin Glidic Tested-by: Gustavo Zacarias My previous patch was incomplete, it did the check and replaces instances of -lrt but didn't actually use it for zuctest, hence ultimately it didn't fix the problem, i

[PATCH weston] build: Add (and use) an AC_SEARCH_LIBS wrapper

2016-04-22 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- Not too much Autotools- or m4-foo needed here. Please note the behaviour difference from AC_CHECK_LIB/AC_SEARCH_LIBS: we call action-if-found if the function is available directly, just in case some crazy libc has jpeg support. :-) CCed G