1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

Fail configure when no pthread support

This commit is contained in:
James Booth 2016-09-05 22:00:16 +01:00
parent 5c245acd93
commit c908f37a23

View File

@ -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" ])