Added test for copysign(), useful in Solaris <= 10, where signbit was not supported by the standard version of gcc.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-09-07 15:14:57 +02:00
parent 7821ccb70c
commit 7e688bfa5a
3 changed files with 7 additions and 2 deletions

View file

@ -69,6 +69,8 @@ ECL 9.9.1:
- In Solaris 8 ECL failed because it did not find inttypes.h
- When signbit() is not available, ECL now looks for existence of copysign.
;;; Local Variables: ***
;;; mode:text ***
;;; fill-column:79 ***

4
src/configure vendored
View file

@ -12660,8 +12660,10 @@ done
for ac_func in expf logf sqrtf cosf sinf tanf sinhf coshf tanhf \
floorf ceilf fabsf frexpf ldexpf log1p log1pf log1pl
floorf ceilf fabsf frexpf ldexpf log1p log1pf log1pl \
copysign
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5

View file

@ -637,7 +637,8 @@ AC_CHECK_FUNCS( [nanosleep alarm times select setenv putenv] \
[gettimeofday getrusage] )
AC_CHECK_FUNCS( [expf logf sqrtf cosf sinf tanf sinhf coshf tanhf] \
[floorf ceilf fabsf frexpf ldexpf log1p log1pf log1pl])
[floorf ceilf fabsf frexpf ldexpf log1p log1pf log1pl] \
[copysign] )
AC_CHECK_FUNCS( [sched_yield uname fseeko] )