This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure scan for ldexpl
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 11 Aug 2014 15:55:01 +0000 (11:55 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 14 Aug 2014 02:20:26 +0000 (22:20 -0400)
15 files changed:
Configure
Cross/config.sh-arm-linux
NetWare/config.wc
Porting/Glossary
Porting/config.sh
config_h.SH
configure.com
plan9/config_sh.sample
symbian/config.sh
uconfig.h
uconfig.sh
uconfig64.sh
win32/config.ce
win32/config.gc
win32/config.vc

index b764587..817b515 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -585,6 +585,7 @@ d_isnanl=''
 d_killpg=''
 d_lchown=''
 d_ldbl_dig=''
+d_ldexpl=''
 d_libm_lib_version=''
 d_link=''
 d_localtime_r=''
@@ -15427,6 +15428,10 @@ $rm -f ldbl_dig.?
 set d_ldbl_dig
 eval $setvar
 
+: see if ldexpl exists
+set ldexpl d_ldexpl
+eval $inlibc
+
 : see if this is a math.h system
 set math.h i_math
 eval $inhdr
@@ -15793,6 +15798,9 @@ if $test "$uselongdouble" = "$define"; then
            message="$message frexpl"
        fi
     fi
+    if $test "$d_ldexpl" != "$define"; then
+       message="$message ldexpl"
+    fi
 
     if $test "$message" != ""; then
        $cat <<EOM >&4
@@ -23308,6 +23316,7 @@ d_isnanl='$d_isnanl'
 d_killpg='$d_killpg'
 d_lchown='$d_lchown'
 d_ldbl_dig='$d_ldbl_dig'
+d_ldexpl='$d_ldexpl'
 d_libm_lib_version='$d_libm_lib_version'
 d_libname_unique='$d_libname_unique'
 d_link='$d_link'
index e0ba68b..abccb2c 100644 (file)
@@ -300,6 +300,7 @@ d_isnanl='define'
 d_killpg='define'
 d_lchown='define'
 d_ldbl_dig='define'
+d_ldexpl='define'
 d_libm_lib_version='define'
 d_link='define'
 d_localtime64='undef'
index 54b4c9d..fde25b1 100644 (file)
@@ -289,6 +289,7 @@ d_isnanl='undef'
 d_killpg='undef'
 d_lchown='undef'
 d_ldbl_dig='define'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_localtime64='undef'
index 99cef06..eb50a61 100644 (file)
@@ -1336,6 +1336,10 @@ d_ldbl_dig (d_ldbl_dig.U):
        header files provide LDBL_DIG, which is the number of significant
        digits in a long double precision number.
 
+d_ldexpl (d_ldexpl.U):
+       This variable conditionally defines the HAS_LDEXPL symbol, which
+       indicates to the C program that the ldexpl() routine is available.
+
 d_libm_lib_version (d_libm_lib_version.U):
        This variable conditionally defines the LIBM_LIB_VERSION symbol,
        which indicates to the C program that math.h defines _LIB_VERSION
index 1c30d08..6f76268 100644 (file)
@@ -309,6 +309,7 @@ d_isnanl='define'
 d_killpg='define'
 d_lchown='define'
 d_ldbl_dig='define'
+d_ldexpl='define'
 d_libm_lib_version='define'
 d_libname_unique='undef'
 d_link='define'
index ff7308e..168feee 100755 (executable)
@@ -3617,6 +3617,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_frexpl HAS_FREXPL          /**/
 
+/* HAS_LDEXPL:
+ *     This symbol, if defined, indicates that the ldexpl routine is
+ *     available to shift a long double floating-point number
+ *     by an integral power of 2.
+ */
+#$d_ldexpl HAS_LDEXPL          /**/
+
 /* HAS_STRUCT_FS_DATA:
  *     This symbol, if defined, indicates that the struct fs_data
  *     to do statfs() is supported.
index a147e5d..ae76155 100644 (file)
@@ -3343,6 +3343,7 @@ $   uquadtype = "unsigned long long"
 $   quadkind  = "3"
 $!
 $   d_frexpl = "define"
+$   d_ldexpl = "define"
 $   d_modfl = "define"
 $   d_modflproto = "define"
 $ ELSE
@@ -3364,6 +3365,7 @@ $   uquadtype = "undef"
 $   quadkind  = "undef"
 $!
 $   d_frexpl = "undef"
+$   d_ldexpl = "undef"
 $   d_modfl = "undef"
 $   d_modflproto = "undef"
 $ ENDIF
@@ -6063,6 +6065,7 @@ $ WC "d_isnanl='" + d_isnanl + "'"
 $ WC "d_killpg='undef'"
 $ WC "d_lchown='" + d_lchown + "'"
 $ WC "d_ldbl_dig='define'"
+$ WC "d_ldexpl='" + d_ldexpl + "'"
 $ WC "d_libm_lib_version='undef'"
 $ WC "d_link='" + d_link + "'"
 $ WC "d_llseek='undef'"
index c8ae07a..bbe15af 100644 (file)
@@ -300,6 +300,7 @@ d_isnanl='undef'
 d_killpg='undef'
 d_lchown='undef'
 d_ldbl_dig='define'
+d_ldexpl='undef'
 d_libm_lib_version='0'
 d_link='define'
 d_localtime64='undef'
index fa12493..27f5a5b 100644 (file)
@@ -246,6 +246,7 @@ d_isnanl='undef'
 d_killpg='undef'
 d_lchown='undef'
 d_ldbl_dig='undef'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='undef'
 d_localtime64='undef'
index ba38e02..a1aa34f 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
  *     LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
  *     LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
  *     LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
+ *     LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
+ *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN
+ *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN
  *     LONG_DOUBLE_IS_UNKNOWN_FORMAT
  *     It is only defined if the system supports long doubles.
  */
 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN  1
 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN     2
 #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN                3
+#define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN           4
+#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN      5
+#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN 6
 #define LONG_DOUBLE_IS_UNKNOWN_FORMAT                  -1
 #endif
 
  */
 /*#define HAS_FREXPL           / **/
 
+/* HAS_LDEXPL:
+ *     This symbol, if defined, indicates that the ldexpl routine is
+ *     available to shift a long double floating-point number
+ *     by an integral power of 2.
+ */
+/*#define HAS_LDEXPL           / **/
+
 /* HAS_STRUCT_FS_DATA:
  *     This symbol, if defined, indicates that the struct fs_data
  *     to do statfs() is supported.
 #endif
 
 /* Generated from:
- * c4bf570c111b3c66095fb11639d17a0af192b7c0a37356b5aee77aba07159a26 config_h.SH
- * bcda3e57ce7783c031fe7cc8670ceac0dd6344d01f9a36ede1b34c48cb7d4f21 uconfig.sh
+ * 5f68e17a9d9e989b824daf55d2adcad3b7af2becfa8f627c6cb1d0e376f7e1a5 config_h.SH
+ * 98397a7d818a024628d6b34e5903a8f408da96601a2a19471c480511f3c8d914 uconfig.sh
  * ex: set ro: */
index e840f3e..15fd327 100644 (file)
@@ -239,6 +239,7 @@ d_isnanl='undef'
 d_killpg='undef'
 d_lchown='undef'
 d_ldbl_dig='undef'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='undef'
 d_localtime64='undef'
index 600962b..06537c3 100644 (file)
@@ -240,6 +240,7 @@ d_isnanl='undef'
 d_killpg='undef'
 d_lchown='undef'
 d_ldbl_dig='undef'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='undef'
 d_localtime64='undef'
index aa8f756..78254ee 100644 (file)
@@ -287,6 +287,7 @@ d_isnanl='undef'
 d_killpg='undef'
 d_lchown='undef'
 d_ldbl_dig='define'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_localtime64='undef'
index 2cf0fb9..94e3596 100644 (file)
@@ -287,6 +287,7 @@ d_isnanl='undef'
 d_killpg='define'
 d_lchown='undef'
 d_ldbl_dig='define'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_localtime64='undef'
index 8ebdb61..a4ef314 100644 (file)
@@ -287,6 +287,7 @@ d_isnanl='undef'
 d_killpg='define'
 d_lchown='undef'
 d_ldbl_dig='define'
+d_ldexpl='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_localtime64='undef'