+CHECK_CXX_SOURCE_COMPILES(
+ "
+ #include <cmath>
+ int main(){ double d=0; isnan (d); return 0; }
+ "
+ HAVE_ISNAN)
+
+CHECK_CXX_SOURCE_COMPILES(
+ "
+ #include <cmath>
+ int main(){ double d=0; _isnan (d); return 0; }
+ "
+ HAVE_UNDERSCORE_ISNAN)
+
+CHECK_CXX_SOURCE_COMPILES(
+ "
+ #include <cmath>
+ int main(){ double d=0; std::isfinite (d); return 0; }
+ "
+ DEAL_II_HAVE_ISFINITE)
+
+
+
#
-# Checks for various header files:
+# Checks for various header files: # TODO: Obsolete?
#
CHECK_INCLUDE_FILES("stdint.h" HAVE_STDINT_H)
CHECK_INCLUDE_FILES("sys/syscall.h" HAVE_SYS_SYSCALL_H)
CHECK_INCLUDE_FILES("sys/times.h" HAVE_SYS_TIMES_H)
CHECK_INCLUDE_FILES("sys/types.h" HAVE_SYS_TYPES_H)
-
-
-
-
classes. */
#cmakedefine DEAL_II_CAN_USE_CXX1X
+/* Defined if isnan is available */
+#cmakedefine HAVE_ISNAN
+
+/* Defined if _isnan is available */
+#cmakedefine HAVE_UNDERSCORE_ISNAN
+
+/* Defined if std::isfinite is available */
+#cmakedefine DEAL_II_HAVE_ISFINITE
+
/* Defined if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H
/* Defined if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H
-/* Defined if you have the `strtrs_' function. */
-#cmakedefine HAVE_STRTRS_ /* TODO */
-
-
#include <deal.II/base/numbers.h>
libraries */
#cmakedefine DEAL_II_HAVE_DARWIN_DYNACAST_BUG
-/* Defined if std::isfinite is available */
-#cmakedefine DEAL_II_HAVE_ISFINITE
-
/* Flag indicating whether the library shall be compiled to use the Tecplot
interface */
#cmakedefine DEAL_II_HAVE_TECPLOT
# pragma warning( disable : 4789 ) // destination of memory copy is too small
# pragma warning( disable : 4808 ) // case 'value' is not a valid value for switch condition of type 'bool
#endif // DEAL_II_MSVC
+
+
+/* Defined if you have the `strtrs_' function. */
+#cmakedefine HAVE_STRTRS_ /* TODO */