From 381c39b868360be4393c8cfcaf6609a743b626b0 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Thu, 13 Jul 2017 01:10:02 +0200 Subject: nxcomp: add AX_PTHREAD code from autoconf-archive and check for pthread support. --- nxcomp/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nxcomp/configure.ac') diff --git a/nxcomp/configure.ac b/nxcomp/configure.ac index 89081cbb6..454ee6a80 100644 --- a/nxcomp/configure.ac +++ b/nxcomp/configure.ac @@ -63,6 +63,8 @@ if test "$FreeBSD" = yes; then CPPFLAGS="$CPPFLAGS -I/usr/local/include" fi +AX_PTHREAD([], AC_MSG_ERROR([no POSIX threads support detected])) + # If in_addr_t is not defined use unsigned int. AC_CHECK_TYPES([in_addr_t], [], [], [[#include ]]) -- cgit v1.2.3