]> ruderich.org/simon Gitweb - wall-notify/wall-notify.git/commitdiff
configure.ac: improve error message if no pthread is found
authorSimon Ruderich <simon@ruderich.org>
Tue, 22 Sep 2015 23:57:58 +0000 (01:57 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 22 Sep 2015 23:57:58 +0000 (01:57 +0200)
configure.ac

index 3c1939664a6a5c5ec1922a2cdd45d92c41596eb0..7b4ab5a39de5b51a651400cc88067c4861eded41 100644 (file)
@@ -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"