[PATCH weston] build: actually use CLOCK_GETTIME_LIBS for libzunitc

2016-04-22 Thread Gustavo Zacarias
The fix/check in 34d59859 is incomplete. Signed-off-by: Gustavo Zacarias --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c042c68..41f0789 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1054,7 +1054,8 @@ libzunitc_la_CFLAGS

Re: [PATCH weston] build: actually use CLOCK_GETTIME_LIBS for zuctest

2016-04-22 Thread Gustavo Zacarias
On 22/04/16 10:32, Pekka Paalanen wrote: Hi, I see tools/zunitc/src/zunitc_impl.c:1145:clock_gettime(TARGET_TIMER, &begin); tools/zunitc/src/zunitc_impl.c:1160:clock_gettime(TARGET_TIMER, &end); indeed. But would the addition not belong to libzunitc_la_LIBADD instead? Hi. Indeed, sha

[PATCH weston] build: actually use CLOCK_GETTIME_LIBS for zuctest

2016-04-22 Thread Gustavo Zacarias
The fix/check in 34d59859 is incomplete. Signed-off-by: Gustavo Zacarias --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c042c68..ae34c02 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1333,7 +1333,8 @@ noinst_PROGRAMS

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 t

[PATCH weston] build: add check for clock_gettime() in librt

2016-04-21 Thread Gustavo Zacarias
th it. Built-tested against old and new glibc. Signed-off-by: Gustavo Zacarias --- Makefile.am | 15 --- configure.ac | 5 + 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index d3c3f71..c042c68 100644 --- a/Makefile.am +++ b/Makefi