]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Also check for HAVE_UNISTD_H
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 23 Sep 2012 21:20:26 +0000 (21:20 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 23 Sep 2012 21:20:26 +0000 (21:20 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26651 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/check/check_for_cxx_features.cmake
deal.II/include/deal.II/base/config.h.in
deal.II/include/deal.II/base/config.h.in.old

index 9b89bfdf2f777cd013b06cdd4ace0ece3de6e00e..30e86e00ae1f9758d86b6b55cff40f66d532d060 100644 (file)
@@ -221,9 +221,10 @@ CHECK_CXX_SOURCE_COMPILES(
 
 CHECK_INCLUDE_FILE("stdint.h" HAVE_STDINT_H)
 CHECK_INCLUDE_FILE("stdlib.h" HAVE_STDLIB_H)
-CHECK_INCLUDE_FILE("strings.h" HAVE_STRINGS_H)
 CHECK_INCLUDE_FILE("string.h" HAVE_STRING_H)
+CHECK_INCLUDE_FILE("strings.h" HAVE_STRINGS_H)
 CHECK_INCLUDE_FILE("sys/stat.h" HAVE_SYS_STAT_H)
 CHECK_INCLUDE_FILE("sys/syscall.h" HAVE_SYS_SYSCALL_H)
 CHECK_INCLUDE_FILE("sys/times.h" HAVE_SYS_TIMES_H)
 CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H)
+CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
index e4424dc568ffbd4544be42864ac5093c4d3a14b9..960501db684d26fd8a83e78d4e4fda8663d09a0c 100644 (file)
 /* Defined if you have the <sys/types.h> header file. */
 #cmakedefine HAVE_SYS_TYPES_H
 
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine HAVE_UNISTD_H
+
 
 
 
index 76c7d2c68a2d656b104cf89a40f0cf63cf8e6dcb..e4a8cc692d5906f9ad77a13b719b358335aed0cf 100644 (file)
 /* Define to 1 if you have the `times' function. */
 #cmakedefine HAVE_TIMES
 
-/* Define to 1 if you have the <unistd.h> header file. */
-#cmakedefine HAVE_UNISTD_H
-
 /* On SunOS 4.x, the getrusage() function exists, but is not declared in the
    respective header file <resource.h>, as one would think when reading the
    man pages. Then we have to declare this function ourselves in those files

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


Typeset in Trocchi and Trocchi Bold Sans Serif.