Minor:
+* HAVE_JN_ ?
+
* There is still a perl script for generating lapack_templates.h. Is this
necessary.
# Check for various system features:
#
+INCLUDE(TestBigEndian)
+
+
+#
+# Check for various posix specific header files:
+#
+
+CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
CHECK_INCLUDE_FILE("sys/stat.h" HAVE_SYS_STAT_H)
CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H)
-CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
+
+#
+# Check for various posix specific functions:
+#
+
+CHECK_FUNCTION_EXISTS(gethostname HAVE_GETHOSTNAME)
+
+CHECK_FUNCTION_EXISTS(getpid HAVE_GETPID)
+
+CHECK_FUNCTION_EXISTS(rand_r HAVE_RAND_R)
+
+CHECK_FUNCTION_EXISTS(times HAVE_TIMES)
+
+TEST_BIG_ENDIAN(DEAL_II_WORDS_BIGENDIAN)
+
/* Defined if you have the "times" function. */
#cmakedefine HAVE_TIMES
-/* Defined if you have the "jn" function. */
-#cmakedefine HAVE_JN
-
/* Defined if the system stores words with the most significant byte first */
#cmakedefine DEAL_II_WORDS_BIGENDIAN
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-# undef WORDS_BIGENDIAN
-# endif
-#endif
-
-
-
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams