aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/configure.ac
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-07-13 01:10:02 +0200
committerMihai Moldovan <ionic@ionic.de>2017-10-27 08:45:42 +0200
commit381c39b868360be4393c8cfcaf6609a743b626b0 (patch)
tree18331a45b183d279772f69872e26ee4d5907c8f8 /nxcomp/configure.ac
parent1f717c6fdfa478f1c422bff51bc8574360dbe127 (diff)
downloadnx-libs-381c39b868360be4393c8cfcaf6609a743b626b0.tar.gz
nx-libs-381c39b868360be4393c8cfcaf6609a743b626b0.tar.bz2
nx-libs-381c39b868360be4393c8cfcaf6609a743b626b0.zip
nxcomp: add AX_PTHREAD code from autoconf-archive and check for pthread support.
Diffstat (limited to 'nxcomp/configure.ac')
-rw-r--r--nxcomp/configure.ac2
1 files changed, 2 insertions, 0 deletions
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 <netinet/in.h>]])