summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 17:30:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 17:30:13 (GMT)
commite246b44499e406683adac8035e53d08b4dc0192a (patch)
tree871f197c9b3896ee27b62f946ee1b42f7062ceb9 /unix/configure
parentaa93fba41a6764dce6c1f918388efd0f46136ada (diff)
downloadtcl-e246b44499e406683adac8035e53d08b4dc0192a.zip
tcl-e246b44499e406683adac8035e53d08b4dc0192a.tar.gz
tcl-e246b44499e406683adac8035e53d08b4dc0192a.tar.bz2
Deprecate internal macro's TclIsInfinite() and TclIsNan(), since C99 has isinf() and isnan()
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure41
1 files changed, 0 insertions, 41 deletions
diff --git a/unix/configure b/unix/configure
index 452d5da..5d18196 100755
--- a/unix/configure
+++ b/unix/configure
@@ -10341,47 +10341,6 @@ fi
#--------------------------------------------------------------------
-# Check for support of isnan() function or macro
-#--------------------------------------------------------------------
-
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking isnan" >&5
-printf %s "checking isnan... " >&6; }
-if test ${tcl_cv_isnan+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <math.h>
-int
-main (void)
-{
-
-isnan(0.0); /* Generates an error if isnan is missing */
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
- tcl_cv_isnan=yes
-else $as_nop
- tcl_cv_isnan=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
- conftest$ac_exeext conftest.$ac_ext
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_isnan" >&5
-printf "%s\n" "$tcl_cv_isnan" >&6; }
-if test $tcl_cv_isnan = no; then
-
-printf "%s\n" "#define NO_ISNAN 1" >>confdefs.h
-
-fi
-
-#--------------------------------------------------------------------
# Darwin specific API checks and defines
#--------------------------------------------------------------------