summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure25
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--Cross/config.sh-arm-linux-n7701
-rw-r--r--NetWare/config.wc1
-rw-r--r--NetWare/config_H.wc7
-rw-r--r--Porting/Glossary5
-rw-r--r--Porting/config.sh1
-rw-r--r--Porting/config_H7
-rwxr-xr-xconfig_h.SH7
-rw-r--r--configure.com1
-rw-r--r--ext/POSIX/POSIX.xs2
-rw-r--r--perl.h6
-rw-r--r--plan9/config.plan97
-rw-r--r--plan9/config_h.sample7
-rw-r--r--plan9/config_sh.sample1
-rw-r--r--symbian/config.sh1
-rw-r--r--uconfig.h11
-rw-r--r--uconfig.sh1
-rw-r--r--uconfig64.sh1
-rw-r--r--win32/config.ce1
-rw-r--r--win32/config.gc1
-rw-r--r--win32/config.vc1
-rw-r--r--win32/config_H.ce7
-rw-r--r--win32/config_H.gc7
-rw-r--r--win32/config_H.vc7
25 files changed, 5 insertions, 112 deletions
diff --git a/Configure b/Configure
index 33b689504a..f28f769743 100755
--- a/Configure
+++ b/Configure
@@ -982,7 +982,6 @@ i_dlfcn=''
i_execinfo=''
i_fcntl=''
i_fenv=''
-i_float=''
i_fp=''
i_fp_class=''
i_gdbm=''
@@ -6893,10 +6892,6 @@ EOCP
esac
$rm_try
-: see if this is a float.h system
-set float.h i_float
-eval $inhdr
-
: check for long doubles
echo " "
echo "Checking to see if you have long double..." >&4
@@ -6955,13 +6950,10 @@ $echo "Checking the kind of long doubles you have..." >&4
case "$d_longdbl" in
define)
$cat <<EOP >try.c
-#$i_float I_FLOAT
#$i_stdlib I_STDLIB
#define LONGDBLSIZE $longdblsize
#define DOUBLESIZE $doublesize
-#ifdef I_FLOAT
#include <float.h>
-#endif
#ifdef I_STDLIB
#include <stdlib.h>
#endif
@@ -12329,11 +12321,8 @@ eval $inlibc
: See if number of significant digits in a double precision number is known
echo " "
$cat >dbl_dig.c <<EOM
-#$i_float I_FLOAT
#include <limits.h>
-#ifdef I_FLOAT
#include <float.h>
-#endif
#ifdef DBL_DIG
printf("Contains DBL_DIG");
#endif
@@ -16011,11 +16000,8 @@ eval $setvar
: See if number of significant digits in a double precision number is known
echo " "
$cat >ldbl_dig.c <<EOM
-#$i_float I_FLOAT
#include <limits.h>
-#ifdef I_FLOAT
#include <float.h>
-#endif
#ifdef LDBL_DIG
printf("Contains LDBL_DIG");
#endif
@@ -20332,11 +20318,8 @@ $rm_try
: Check the length of the double mantissa
$echo "Checking how many mantissa bits your doubles have..." >&4
$cat >try.c <<EOP
-#$i_float I_FLOAT
#$i_sunmath I_SUNMATH
-#ifdef I_FLOAT
-# include <float.h>
-#endif
+#include <float.h>
#ifdef I_SUNMATH
# include <sunmath.h>
#endif
@@ -20362,11 +20345,8 @@ $rm_try
: Check the length of the longdouble mantissa
$echo "Checking how many mantissa bits your long doubles have..." >&4
$cat >try.c <<EOP
-#$i_float I_FLOAT
#$i_sunmath I_SUNMATH
-#ifdef I_FLOAT
-# include <float.h>
-#endif
+#include <float.h>
#ifdef I_SUNMATH
# include <sunmath.h>
#endif
@@ -24548,7 +24528,6 @@ i_dlfcn='$i_dlfcn'
i_execinfo='$i_execinfo'
i_fcntl='$i_fcntl'
i_fenv='$i_fenv'
-i_float='$i_float'
i_fp='$i_fp'
i_fp_class='$i_fp_class'
i_gdbm='$i_gdbm'
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index bab826511e..24f9a2bb45 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -738,7 +738,6 @@ i_dlfcn='define'
i_execinfo='undef'
i_fcntl='undef'
i_fenv='define'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770
index 13b94b3c26..ca0969270f 100644
--- a/Cross/config.sh-arm-linux-n770
+++ b/Cross/config.sh-arm-linux-n770
@@ -599,7 +599,6 @@ i_dbm='undef'
i_dirent='define'
i_dlfcn='define'
i_fcntl='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index 6f8225150f..736591c990 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -720,7 +720,6 @@ i_dlfcn='define'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc
index 0b48217d08..5b198c691c 100644
--- a/NetWare/config_H.wc
+++ b/NetWare/config_H.wc
@@ -662,13 +662,6 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_LOCALE:
* This symbol, if defined, indicates to the C program that it should
* include <locale.h>.
diff --git a/Porting/Glossary b/Porting/Glossary
index d9dcd941b1..b6a525d8c1 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -3443,11 +3443,6 @@ i_fenv (i_fenv.U):
indicates to the C program that <fenv.h> exists and should
be included.
-i_float (i_float.U):
- This variable conditionally defines the I_FLOAT symbol, and indicates
- whether a C program may include <float.h> to get symbols like DBL_MAX
- or DBL_MIN, i.e. machine dependent floating point values.
-
i_fp (i_fp.U):
This variable conditionally defines the I_FP symbol, and indicates
whether a C program should include <fp.h>.
diff --git a/Porting/config.sh b/Porting/config.sh
index 5e3f69aa66..0b616be452 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -756,7 +756,6 @@ i_dlfcn='define'
i_execinfo='define'
i_fcntl='undef'
i_fenv='define'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='define'
diff --git a/Porting/config_H b/Porting/config_H
index 7d1d4ec76e..2d8aa092aa 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -614,13 +614,6 @@
*/
/*#define I_FCNTL / **/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_GDBM:
* This symbol, if defined, indicates that <gdbm.h> exists and should
* be included.
diff --git a/config_h.SH b/config_h.SH
index b59ed49b2a..91ed7eab2e 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -661,13 +661,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_fcntl I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#$i_float I_FLOAT /**/
-
/* I_GDBM:
* This symbol, if defined, indicates that <gdbm.h> exists and should
* be included.
diff --git a/configure.com b/configure.com
index d789fda27c..a44f401300 100644
--- a/configure.com
+++ b/configure.com
@@ -6544,7 +6544,6 @@ $ WC "i_dlfcn='undef'"
$ WC "i_execinfo='undef'"
$ WC "i_fcntl='" + i_fcntl + "'"
$ WC "i_fenv='undef'"
-$ WC "i_float='define'"
$ WC "i_fp='undef'"
$ WC "i_fp_class='undef'"
$ WC "i_gdbm='undef'"
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 2de9165328..e52fa5b0e0 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -34,9 +34,7 @@ static int not_here(const char *s);
#ifdef WIN32
#include <sys/errno2.h>
#endif
-#ifdef I_FLOAT
#include <float.h>
-#endif
#ifdef I_FENV
#if !(defined(__vax__) && defined(__NetBSD__))
#include <fenv.h>
diff --git a/perl.h b/perl.h
index ed31083e65..293ce63f2d 100644
--- a/perl.h
+++ b/perl.h
@@ -1690,9 +1690,7 @@ typedef UVTYPE UV;
a long double - Allen).
*/
#include <limits.h>
-#ifdef I_FLOAT
#include <float.h>
-#endif
#ifndef HAS_DBL_DIG
#define DBL_DIG 15 /* A guess that works lots of places */
#endif
@@ -1710,9 +1708,7 @@ typedef UVTYPE UV;
(see config.h)
*/
# include <limits.h>
-# ifdef I_FLOAT
-# include <float.h>
-# endif
+# include <float.h>
# ifndef HAS_LDBL_DIG
# if LONG_DOUBLESIZE == 10
# define LDBL_DIG 18 /* assume IEEE */
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 419b9d0034..5e9a9a926b 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -666,13 +666,6 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_LOCALE:
* This symbol, if defined, indicates to the C program that it should
* include <locale.h>.
diff --git a/plan9/config_h.sample b/plan9/config_h.sample
index 3b7d304988..bb63df7a02 100644
--- a/plan9/config_h.sample
+++ b/plan9/config_h.sample
@@ -630,13 +630,6 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_LOCALE:
* This symbol, if defined, indicates to the C program that it should
* include <locale.h>.
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index 2f8e5b212a..8c0fa5144a 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -732,7 +732,6 @@ i_dlfcn='undef'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/symbian/config.sh b/symbian/config.sh
index 088e9e6454..dadc2feb55 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -660,7 +660,6 @@ i_dlfcn='undef'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='undef'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/uconfig.h b/uconfig.h
index e5c6c2b873..084269d328 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -626,13 +626,6 @@
*/
/*#define I_FCNTL / **/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-/*#define I_FLOAT / **/
-
/* I_GDBM:
* This symbol, if defined, indicates that <gdbm.h> exists and should
* be included.
@@ -5242,6 +5235,6 @@
#endif
/* Generated from:
- * 82aa50fd961b36e3bc3ab644715698645fed961055bc70f4ad44ad88f51c25b0 config_h.SH
- * 37da610aa9e38f4374ef9ce47cd7cd08240a33511faa8ee028f9e33ee76587ca uconfig.sh
+ * 9100fef145843fcfa105bdc8111ca24ddb625d35d59b8a1eef427a60fd294ab3 config_h.SH
+ * 4425baab434b1c600933b21fb798a0a73397dbac36deea56173e1ca5efc76582 uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index d8d151e143..1f19f0c856 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -646,7 +646,6 @@ i_dlfcn='undef'
i_execinfo='undef'
i_fcntl='undef'
i_fenv='undef'
-i_float='undef'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/uconfig64.sh b/uconfig64.sh
index 393af4f834..dcf41e112c 100644
--- a/uconfig64.sh
+++ b/uconfig64.sh
@@ -646,7 +646,6 @@ i_dlfcn='undef'
i_execinfo='undef'
i_fcntl='undef'
i_fenv='undef'
-i_float='undef'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/win32/config.ce b/win32/config.ce
index 07774f6a93..705c19ac2b 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -716,7 +716,6 @@ i_dlfcn='define'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/win32/config.gc b/win32/config.gc
index 902c86e0e7..47f6ba58d7 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -730,7 +730,6 @@ i_dlfcn='define'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/win32/config.vc b/win32/config.vc
index e4740bb56e..27ede18925 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -727,7 +727,6 @@ i_dlfcn='define'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
diff --git a/win32/config_H.ce b/win32/config_H.ce
index dae69c8244..e7e35d46c5 100644
--- a/win32/config_H.ce
+++ b/win32/config_H.ce
@@ -612,13 +612,6 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_LOCALE:
* This symbol, if defined, indicates to the C program that it should
* include <locale.h>.
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 2604215dc9..6c4b3efdd7 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -622,13 +622,6 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_GDBM:
* This symbol, if defined, indicates that <gdbm.h> exists and should
* be included.
diff --git a/win32/config_H.vc b/win32/config_H.vc
index edc71e7ffb..696cbf6d1e 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -622,13 +622,6 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
/* I_GDBM:
* This symbol, if defined, indicates that <gdbm.h> exists and should
* be included.