Changeset 922
- Timestamp:
- Oct 1, 2007, 8:22:52 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r916 r922 39 39 AM_CONFIG_HEADER([config.h]) 40 40 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION,$PACKAGE_BUGREPORT) 41 42 # Set default programming language 43 AC_LANG(C++) 41 44 42 45 # Checks for programs. … … 83 86 AC_SUBST(MATH_LIB) 84 87 88 # check for quiet_NaN support in OS 89 AC_MSG_CHECKING([for std::numeric_limits<>::quiet_NaN()]) 90 AC_COMPILE_IFELSE( 91 [AC_LANG_PROGRAM( 92 [#include <limits> 93 extern void f(double);], 94 [f(std::numeric_limits<double>::quiet_NaN())])], 95 [quiet_nan=yes], 96 [quiet_nan=no]) 97 AC_MSG_RESULT($quiet_nan) 98 if test "${quiet_nan}" = "no" ; then 99 AC_MSG_FAILURE([ 100 Support for quiet NAN required. 101 Yat will not work on this system!]) 102 fi 103 85 104 # yat specific settings 86 105 YAT_LIB="libyat.la" -
trunk/test/data_lookup_1d_test.cc
r865 r922 53 53 } 54 54 55 56 55 *error << "Testing Lookup Classes" << std::endl; 57 56 bool ok = true; 58 59 60 61 if(!std::numeric_limits<double>::has_quiet_NaN) {62 *error << "Error: a compiler without quiet_NaN is used!\n"63 << "This will likely also mess up a lot of other yat tests\n";64 ok=false;65 return end_test(error,ok);66 }67 68 69 57 70 58 *error << "Testing DataLookup1D" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.