summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-03-31 17:21:13 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-03-31 17:21:13 (GMT)
commitb8f08b6a474598d1f1ccf29ff84ad90eb5aa329c (patch)
tree7a0667bb483032d8717048e89062abfde308f0aa /unix/configure.in
parentae9e1cb6567ceb048c70832079dfbd8d7ba7fe8f (diff)
downloadtcl-b8f08b6a474598d1f1ccf29ff84ad90eb5aa329c.zip
tcl-b8f08b6a474598d1f1ccf29ff84ad90eb5aa329c.tar.gz
tcl-b8f08b6a474598d1f1ccf29ff84ad90eb5aa329c.tar.bz2
merge updates from HEAD
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 82e68da..fb777b2 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.180 2008/03/28 17:31:47 dgp Exp $
+# RCS: @(#) $Id: configure.in,v 1.180.2.1 2008/03/31 17:21:18 dgp Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -492,6 +492,18 @@ SC_ENABLE_LANGINFO
AC_CHECK_FUNCS(chflags)
#--------------------------------------------------------------------
+# Check for support of isnan() function or macro
+#--------------------------------------------------------------------
+
+AC_CACHE_CHECK([isnan], tcl_cv_isnan, [
+ AC_TRY_LINK([#include <math.h>], [
+isnan(0.0); /* Generates an error if isnan is missing */
+], tcl_cv_isnan=yes, tcl_cv_isnan=no)])
+if test $tcl_cv_isnan = no; then
+ AC_DEFINE(NO_ISNAN, 1, [Do we have a usable 'isnan'?])
+fi
+
+#--------------------------------------------------------------------
# Darwin specific API checks and defines
#--------------------------------------------------------------------