diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-06 21:55:03 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-07 22:08:33 -0400 |
commit | 4842dad7c256d1564348893cff3bfed08dadcbe4 (patch) | |
tree | b1e84920c9271aacd8d47b24aac9611bcdb5ed8f /Configure | |
parent | ed6f4477d0922cc828d8bc6fd16e08c01f7c1210 (diff) | |
download | perl-4842dad7c256d1564348893cff3bfed08dadcbe4.tar.gz |
Configure: scan for truncl.
(C99 version of aintl)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -835,6 +835,7 @@ d_times='' d_tmpnam_r='' tmpnam_r_proto='' d_truncate='' +d_truncl='' d_ttyname_r='' ttyname_r_proto='' d_tzname='' @@ -10349,6 +10350,10 @@ eval $inlibc set aintl d_aintl eval $inlibc +: see if truncl exists +set truncl d_truncl +eval $inlibc + : see if alarm exists set alarm d_alarm eval $inlibc @@ -15984,10 +15989,14 @@ if $test "$uselongdouble" = "$define"; then message="$message sqrtl" fi if $test "$d_modfl" != "$define"; then - if $test "$d_aintl:$d_copysignl" = "$define:$define"; then - echo "You have both aintl and copysignl, so I can emulate modfl." + if $test "$d_truncl:$d_copysignl" = "$define:$define"; then + echo "You have both truncl and copysignl, so I can emulate modfl." else - message="$message modfl" + if $test "$d_aintl:$d_copysignl" = "$define:$define"; then + echo "You have both aintl and copysignl, so I can emulate modfl." + else + message="$message modfl" + fi fi fi if $test "$d_frexpl" != "$define"; then @@ -23672,6 +23681,7 @@ d_tm_tm_gmtoff='$d_tm_tm_gmtoff' d_tm_tm_zone='$d_tm_tm_zone' d_tmpnam_r='$d_tmpnam_r' d_truncate='$d_truncate' +d_truncl='$d_truncl' d_ttyname_r='$d_ttyname_r' d_tzname='$d_tzname' d_u32align='$d_u32align' |