From 99f7e7872f2619c3ebec2590b91de3fb0ca28a1a Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Sat, 13 Feb 2016 17:37:34 +0900 Subject: [PATCH] Disable use of pthreads if pthread.h cannot be found --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 3de23a9ee..cdc6fdeb5 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -234,7 +234,7 @@ AC_DEFUN([SANE_CHECK_PTHREAD], AC_CHECK_FUNCS([pthread_create pthread_kill pthread_join pthread_detach pthread_cancel pthread_testcancel], ,[ have_pthread=no; use_pthread=no ]) LIBS="$save_LIBS" - ],) + ],[ have_pthread=no; use_pthread=no ]) fi if test $use_pthread = yes ; then