Fix pthread.h checking for recent releases of Tru64
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@189 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
cfa366d7e6
commit
9180ae8662
|
@ -42,7 +42,18 @@ acx_pthread_ok=no
|
||||||
|
|
||||||
# First, check if the POSIX threads header, pthread.h, is available.
|
# First, check if the POSIX threads header, pthread.h, is available.
|
||||||
# If it isn't, don't bother looking for the threads libraries.
|
# If it isn't, don't bother looking for the threads libraries.
|
||||||
AC_CHECK_HEADER(pthread.h, , acx_pthread_ok=noheader)
|
|
||||||
|
# Latest Tru64's require that you always use -pthread,
|
||||||
|
# just assume pthread.h exists
|
||||||
|
|
||||||
|
case "${host_cpu}-${host_os}" in
|
||||||
|
alpha*-osf*) acx_pthread_check_header=no; acx_pthread_ok=yes ;;
|
||||||
|
*) acx_pthread_check_header=yes ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test "x$acx_pthread_check_header" = xyes; then
|
||||||
|
AC_CHECK_HEADER(pthread.h, , acx_pthread_ok=noheader)
|
||||||
|
fi
|
||||||
|
|
||||||
# We must check for the threads library under a number of different
|
# We must check for the threads library under a number of different
|
||||||
# names; the ordering is very important because some systems
|
# names; the ordering is very important because some systems
|
||||||
|
|
Loading…
Reference in New Issue