/* Define if you have the time.h header file */
#undef HAVE_TIME_H
+/* Define if you have the sys/time.h header file */
+#undef HAVE_SYS_TIME_H
+
+/* Define if you have the sys/resource.h header file */
+#undef HAVE_SYS_RESOURCE_H
+
+/* Define if you have the malloc.h header file */
+#undef HAVE_MALLOC_H
+
+/* Define if you have the getrusage function */
+#undef HAVE_GETRUSAGE
+
+/* Define if you have the mallinfo function */
+#undef HAVE_MALLINFO
+
+
/* Define if you have the unistd.h header file */
#undef HAVE_UNISTD_H
AC_CONFIG_HEADER(config.h)
AC_HEADER_DIRENT
AC_HEADER_STDC
- AC_CHECK_HEADERS(zlib.h gif_lib.h io.h wchar.h jpeglib.h assert.h signal.h pthread.h sys/stat.h sys/types.h dirent.h sys/bsdtypes.h sys/ndir.h sys/dir.h ndir.h time.h)
+ AC_CHECK_HEADERS(zlib.h gif_lib.h io.h wchar.h jpeglib.h assert.h signal.h pthread.h sys/stat.h sys/types.h dirent.h sys/bsdtypes.h sys/ndir.h sys/dir.h ndir.h time.h sys/time.h sys/resource.h)
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_CHECK_TYPE(boolean,int) #needed for jpeglib
- AC_CHECK_FUNCS(popen wcschr wcsdup mkstemp stat lrand48 rand srand48 srand bcopy bzero time)
+ AC_CHECK_FUNCS(popen wcschr wcsdup mkstemp stat lrand48 rand srand48 srand bcopy bzero time getrusage mallinfo)
AC_CHECK_SIZEOF([signed])
AC_CHECK_SIZEOF([unsigned])