From: wolf Date: Wed, 3 Apr 2002 12:45:35 +0000 (+0000) Subject: Run autoheader and autoconf. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3d898a5994dd92f8b9480c6d6d38904ae36bd6d;p=dealii-svn.git Run autoheader and autoconf. git-svn-id: https://svn.dealii.org/trunk@5635 0785d39b-7218-0410-832d-ea1e28bc413d --- 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. */