From: Simon Ruderich Date: Tue, 22 Sep 2015 23:57:58 +0000 (+0200) Subject: configure.ac: improve error message if no pthread is found X-Git-Url: https://ruderich.org/simon/gitweb/?p=wall-notify%2Fwall-notify.git;a=commitdiff_plain;h=77daaed8269fb1ff0b654f168205fc7c7b6dccd6 configure.ac: improve error message if no pthread is found --- 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"