diff --git a/acconfig.h b/acconfig.h index d99f840a0..c566aaa98 100644 --- a/acconfig.h +++ b/acconfig.h @@ -73,6 +73,9 @@ /* Define if your system has its own `getloadavg' function. */ #undef HAVE_GETLOADAVG +/* Define if you have getrusage() */ +#undef HAVE_GETRUSAGE + /* Define if you have the getmntent function. */ #undef HAVE_GETMNTENT diff --git a/configure.in b/configure.in index 265b64ba4..cde404a38 100644 --- a/configure.in +++ b/configure.in @@ -198,7 +198,7 @@ dnl Checks for library functions. AC_TYPE_SIGNAL AC_FUNC_VPRINTF AC_CHECK_FUNCS( ftime gettimeofday mktime strstr rand random \ - setitimer getitimer signal GetLocalTime rint ) + setitimer getitimer signal GetLocalTime rint getrusage ) if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno"; then echo @@ -220,6 +220,7 @@ AC_OUTPUT( \ Lib/Debug/Makefile \ Lib/DEM/Makefile \ Lib/Math/Makefile \ + Lib/Misc/Makefile \ Lib/PUI/Makefile \ Lib/XGL/Makefile \ Lib/zlib/Makefile \