135 |
|
AC_CHECK_FUNCS(pthread_cancel) |
136 |
|
AC_CHECK_FUNCS(pthread_mutexattr_setprotocol) |
137 |
|
AC_CHECK_FUNCS(pthread_mutexattr_settype) |
138 |
+ |
AC_CHECK_FUNCS(pthread_mutexattr_setpshared) |
139 |
|
|
140 |
|
dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes. |
141 |
|
SEMSRC= |
986 |
|
for fpe in $FPE_CORE_TEST_ORDER; do |
987 |
|
case $fpe in |
988 |
|
ieee) |
989 |
< |
if echo "$ac_cv_c_float_format" | grep -q IEEE; then |
989 |
> |
case $ac_cv_c_float_format in |
990 |
> |
IEEE*) |
991 |
|
FPE_CORE="IEEE fpu core" |
992 |
|
DEFINES="$DEFINES -DFPU_IEEE" |
993 |
|
FPUSRCS="../uae_cpu/fpu/fpu_ieee.cpp" |
994 |
+ |
dnl Math functions not mandated by C99 standard |
995 |
+ |
AC_CHECK_FUNCS(isnanl isinfl) |
996 |
+ |
dnl Math functions required by C99 standard, but probably not |
997 |
+ |
dnl implemented everywhere. In that case, we fall back to the |
998 |
+ |
dnl regular variant for doubles. |
999 |
+ |
AC_CHECK_FUNCS(logl log10l expl powl fabsl sqrtl) |
1000 |
+ |
AC_CHECK_FUNCS(sinl cosl tanl sinhl coshl tanhl) |
1001 |
+ |
AC_CHECK_FUNCS(asinl acosl atanl asinhl acoshl atanhl) |
1002 |
+ |
AC_CHECK_FUNCS(floorl ceill) |
1003 |
|
break |
1004 |
< |
fi |
1004 |
> |
;; |
1005 |
> |
esac |
1006 |
|
;; |
1007 |
|
x86) |
1008 |
|
if [[ ":$HAVE_GCC27:$HAVE_I386:$HAVE_GAS:" = ":yes:yes:yes:" ]]; then |
1029 |
|
|
1030 |
|
dnl Check for certain math functions |
1031 |
|
AC_CHECK_FUNCS(atanh) |
1032 |
< |
AC_CHECK_FUNCS(isnan isinf) dnl C99 |
1021 |
< |
AC_CHECK_FUNCS(isnanl isinfl) dnl IEEE ? |
1032 |
> |
AC_CHECK_FUNCS(isnan isinf finite isnormal signbit) |
1033 |
|
|
1034 |
|
dnl UAE CPU sources for all non-m68k-native architectures. |
1035 |
|
if [[ "x$WANT_NATIVE_M68K" = "xno" ]]; then |