]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove cmake checks for rand_r(). 840/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 19 Apr 2015 22:51:54 +0000 (17:51 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 19 Apr 2015 22:51:54 +0000 (17:51 -0500)
We now no longer use this function anywhere.

cmake/checks/check_02_system_features.cmake
include/deal.II/base/config.h.in

index e996bb9cafd0485ad5118d3144d39467f4e60872..9485bae7f4a90c99ef854f54699194dfc495b406 100644 (file)
@@ -19,7 +19,6 @@
 #   DEAL_II_HAVE_GETHOSTNAME
 #   DEAL_II_HAVE_GETPID
 #   DEAL_II_HAVE_JN
-#   DEAL_II_HAVE_RAND_R
 #   DEAL_II_HAVE_SYS_RESOURCE_H
 #   DEAL_II_HAVE_SYS_TIME_H
 #   DEAL_II_HAVE_SYS_TIMES_H
@@ -52,10 +51,6 @@ CHECK_INCLUDE_FILE_CXX("unistd.h" DEAL_II_HAVE_UNISTD_H)
 CHECK_CXX_SYMBOL_EXISTS("gethostname" "unistd.h" DEAL_II_HAVE_GETHOSTNAME)
 CHECK_CXX_SYMBOL_EXISTS("getpid" "unistd.h" DEAL_II_HAVE_GETPID)
 
-IF(NOT CMAKE_SYSTEM_NAME MATCHES "CYGWIN")
-  CHECK_CXX_SYMBOL_EXISTS("rand_r" "stdlib.h" DEAL_II_HAVE_RAND_R)
-ENDIF()
-
 #
 # Do we have the Bessel function jn?
 #
index e36ffbed1216cb6eb28abf5bf79e0a8f39f87d8f..ca519a36a99f8324961fcdd405d1c04a661e9771 100644 (file)
 #cmakedefine DEAL_II_HAVE_UNISTD_H
 #cmakedefine DEAL_II_HAVE_GETHOSTNAME
 #cmakedefine DEAL_II_HAVE_GETPID
-#cmakedefine DEAL_II_HAVE_RAND_R
 #cmakedefine DEAL_II_HAVE_TIMES
 #cmakedefine DEAL_II_HAVE_JN
 

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.