summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2017-11-17 03:10:54 (GMT)
committerhypnotoad <yoda@etoyoc.com>2017-11-17 03:10:54 (GMT)
commit8079a467a7b58b840168997dba6b840c81a86be6 (patch)
tree34f8f515f42200759efc0894a653e4e90efee799 /unix
parentbe47788793ebb60ab44b11d994b5f053e8f6050a (diff)
parent5ff5853a6e9eac4dc0692fbacc53034b3fec1c58 (diff)
downloadtcl-8079a467a7b58b840168997dba6b840c81a86be6.zip
tcl-8079a467a7b58b840168997dba6b840c81a86be6.tar.gz
tcl-8079a467a7b58b840168997dba6b840c81a86be6.tar.bz2
Pulling changes from core-8-6-branch
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure10
-rw-r--r--unix/tcl.m41
-rw-r--r--unix/tclConfig.h.in3
-rw-r--r--unix/tclUnixPort.h5
4 files changed, 1 insertions, 18 deletions
diff --git a/unix/configure b/unix/configure
index 8e2ec0f..cff57cb 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3746,16 +3746,6 @@ $as_echo "#define NO_DIRENT_H 1" >>confdefs.h
fi
- ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
-if test "x$ac_cv_header_float_h" = xyes; then :
-
-else
-
-$as_echo "#define NO_FLOAT_H 1" >>confdefs.h
-
-fi
-
-
ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default"
if test "x$ac_cv_header_values_h" = xyes; then :
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 132e602..1806207 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2082,7 +2082,6 @@ closedir(d);
AC_DEFINE(NO_DIRENT_H, 1, [Do we have <dirent.h>?])
fi
- AC_CHECK_HEADER(float.h, , [AC_DEFINE(NO_FLOAT_H, 1, [Do we have <float.h>?])])
AC_CHECK_HEADER(values.h, , [AC_DEFINE(NO_VALUES_H, 1, [Do we have <values.h>?])])
AC_CHECK_HEADER(stdlib.h, tcl_ok=1, tcl_ok=0)
AC_EGREP_HEADER(strtol, stdlib.h, , tcl_ok=0)
diff --git a/unix/tclConfig.h.in b/unix/tclConfig.h.in
index adbc80d..28ce012 100644
--- a/unix/tclConfig.h.in
+++ b/unix/tclConfig.h.in
@@ -295,9 +295,6 @@
/* Do we have fd_set? */
#undef NO_FD_SET
-/* Do we have <float.h>? */
-#undef NO_FLOAT_H
-
/* Do we have fstatfs()? */
#undef NO_FSTATFS
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index ba56089..8b766d6 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -181,13 +181,10 @@ extern int TclUnixSetBlockingMode(int fd, int mode);
*---------------------------------------------------------------------------
*/
-#ifndef NO_FLOAT_H
-# include <float.h>
-#else
+#include <float.h>
#ifndef NO_VALUES_H
# include <values.h>
#endif
-#endif
#ifndef FLT_MAX
# ifdef MAXFLOAT