From cdadd34c8c56a215f51c0175292985558ccb3909 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 8 May 2017 15:54:56 -0400 Subject: [PATCH] Re-add PTHREAD_CFLAGS to global CFLAGS Fixes a build failure on Solaris and maybe other esoteric architectures. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 5aa3433..753bec5 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,8 @@ AS_IF([test "x$ax_cv___attribute__" = "xyes"], AX_PTHREAD(,[AC_MSG_ERROR([Could not configure pthreads support])]) +AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" + # Checks for library functions. AC_FUNC_MMAP AC_FUNC_FORK -- 2.34.1