From 77daaed8269fb1ff0b654f168205fc7c7b6dccd6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 23 Sep 2015 01:57:58 +0200 Subject: [PATCH] configure.ac: improve error message if no pthread is found --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3c19396..7b4ab5a 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,8 @@ AC_ARG_ENABLE([x11], fi]) if test -z "$disable_x11_support"; then - AX_PTHREAD([],[AC_MSG_ERROR([pthread is required, use --disable-x11])]) + AX_PTHREAD([], + [AC_MSG_ERROR([pthread is required for X, use --disable-x11])]) LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$PTHREAD_CFLAGS $CFLAGS" CC="$PTHREAD_CC" -- 2.45.2