git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
de957bb
)
added sys/time.h sys/resource.h malloc.h getrusage, mallinfo
author
kramm
<kramm>
Thu, 8 May 2008 08:14:16 +0000
(08:14 +0000)
committer
kramm
<kramm>
Thu, 8 May 2008 08:14:16 +0000
(08:14 +0000)
config.h.in
patch
|
blob
|
history
configure.in
patch
|
blob
|
history
diff --git
a/config.h.in
b/config.h.in
index
2d98665
..
3e8b98e
100644
(file)
--- a/
config.h.in
+++ b/
config.h.in
@@
-32,6
+32,22
@@
/* Define if you have the time.h header file */
#undef HAVE_TIME_H
/* 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
/* Define if you have the unistd.h header file */
#undef HAVE_UNISTD_H
diff --git
a/configure.in
b/configure.in
index
cbae8a5
..
8d75f29
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-229,7
+229,7
@@
dnl Checks for header files.
AC_CONFIG_HEADER(config.h)
AC_HEADER_DIRENT
AC_HEADER_STDC
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_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_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])
AC_CHECK_SIZEOF([signed])
AC_CHECK_SIZEOF([unsigned])