From 0bc763d9048e5a6f9e66029a41f454a5261af13e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 3 Apr 2002 12:45:35 +0000 Subject: [PATCH] Run autoheader and autoconf. git-svn-id: https://svn.dealii.org/trunk@5635 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 6 +++--- deal.II/base/include/base/config.h.in | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 596a898df1..5aa3ce8f6f 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -906,13 +906,13 @@ AC_DEFUN(DEAL_II_CHECK_GETRUSAGE, dnl [ AC_MSG_RESULT(no) AC_DEFINE(NO_HAVE_GETRUSAGE, 1, - [On SunOS 4.x, the `getrusage' function exists, but + [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 + , as one would think when reading the man pages. Then we have to declare this function ourselves in those files that use this function. The question whether we have to do so is controlled - by the preprocessor variable.) + by the preprocessor variable.]) ]) ] ) diff --git a/deal.II/base/include/base/config.h.in b/deal.II/base/include/base/config.h.in index 8b4ed2dd33..9754cdd919 100644 --- a/deal.II/base/include/base/config.h.in +++ b/deal.II/base/include/base/config.h.in @@ -102,6 +102,13 @@ classes (early gcc versions did not) */ #undef HAVE_STD_STRINGSTREAM +/* On SunOS 4.x, the getrusage() function exists, but is not declared in the + respective header file , as one would think when reading the + man pages. Then we have to declare this function ourselves in those files + that use this function. The question whether we have to do so is controlled + by the preprocessor variable. */ +#undef NO_HAVE_GETRUSAGE + /* Define if we have to work around a bug in IBM's xlC compiler. See the aclocal.m4 file in the top-level directory for a description of this bug. */ -- 2.39.5