added sys/time.h sys/resource.h malloc.h getrusage, mallinfo
authorkramm <kramm>
Thu, 8 May 2008 08:14:16 +0000 (08:14 +0000)
committerkramm <kramm>
Thu, 8 May 2008 08:14:16 +0000 (08:14 +0000)
config.h.in
configure.in

index 2d98665..3e8b98e 100644 (file)
 /* 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
 
index cbae8a5..8d75f29 100644 (file)
@@ -229,7 +229,7 @@ dnl Checks for header files.
  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")
@@ -246,7 +246,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
  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])