about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-09-05 22:00:16 +0100
committerJames Booth <boothj5@gmail.com>2016-09-05 22:00:16 +0100
commitc908f37a2352876549ec358450bf79a0a12f1565 (patch)
tree3f568f43e4efc4f4a1e6170fb2f63d6a4d8db601
parent5c245acd93f481f2ad9245165b6f966a4e3bf35e (diff)
downloadprofani-tty-c908f37a2352876549ec358450bf79a0a12f1565.tar.gz
Fail configure when no pthread support
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 71039dcb..d0f6ee14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,7 +112,7 @@ else
 fi
 
 # threading
-ACX_PTHREAD
+ACX_PTHREAD([], [AC_MSG_ERROR([pthread is required])])
 LIBS="$PTHREAD_LIBS $LIBS"
 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 AS_IF([test "x$PTHREAD_CC" != x], [ CC="$PTHREAD_CC" ])