Disable use of pthreads if pthread.h cannot be found

merge-requests/1/head
Olaf Meeuwissen 2016-02-13 17:37:34 +09:00
rodzic 04d5e4a0cf
commit 99f7e7872f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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