1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05: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 fi
# threading # threading
ACX_PTHREAD ACX_PTHREAD([], [AC_MSG_ERROR([pthread is required])])
LIBS="$PTHREAD_LIBS $LIBS" LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
AS_IF([test "x$PTHREAD_CC" != x], [ CC="$PTHREAD_CC" ]) AS_IF([test "x$PTHREAD_CC" != x], [ CC="$PTHREAD_CC" ])