kopia lustrzana https://gitlab.com/sane-project/backends
Disable use of pthreads if pthread.h cannot be found
rodzic
04d5e4a0cf
commit
99f7e7872f
|
@ -234,7 +234,7 @@ AC_DEFUN([SANE_CHECK_PTHREAD],
|
||||||
AC_CHECK_FUNCS([pthread_create pthread_kill pthread_join pthread_detach pthread_cancel pthread_testcancel],
|
AC_CHECK_FUNCS([pthread_create pthread_kill pthread_join pthread_detach pthread_cancel pthread_testcancel],
|
||||||
,[ have_pthread=no; use_pthread=no ])
|
,[ have_pthread=no; use_pthread=no ])
|
||||||
LIBS="$save_LIBS"
|
LIBS="$save_LIBS"
|
||||||
],)
|
],[ have_pthread=no; use_pthread=no ])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test $use_pthread = yes ; then
|
if test $use_pthread = yes ; then
|
||||||
|
|
Ładowanie…
Reference in New Issue