From 9e14975508db7c084b0313dcfaeea3cb44872f4d Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 22 Feb 2004 17:33:14 +0000 Subject: [PATCH] added checks for time() and time.h --- config.h.in | 6 ++++++ configure.in | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/config.h.in b/config.h.in index 7ae0eea..234d6f8 100644 --- a/config.h.in +++ b/config.h.in @@ -19,6 +19,12 @@ /* Define if your declares struct tm. */ #undef TM_IN_SYS_TIME +/* Define if you have the time() function */ +#undef HAVE_TIME + +/* Define if you have the time.h header file */ +#undef HAVE_TIME_H + /* Define if you have the lrand48 function. */ #undef HAVE_LRAND48 diff --git a/configure.in b/configure.in index 2422ed4..4673a19 100644 --- a/configure.in +++ b/configure.in @@ -13,7 +13,7 @@ AC_ARG_ENABLE(lame, [ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true) PACKAGE=swftools -VERSION=0.5.0 +VERSION=0.5.1 WARNINGS="-Wparentheses -Wimplicit -Wreturn-type" @@ -147,7 +147,7 @@ dnl Checks for header files. AC_CONFIG_HEADER(config.h) AC_HEADER_DIRENT AC_HEADER_STDC - AC_CHECK_HEADERS(zlib.h jpeglib.h t1lib.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) + AC_CHECK_HEADERS(zlib.h jpeglib.h t1lib.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) if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then DISABLEPDF2SWF=true; @@ -187,7 +187,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. dnl AC_CHECK_TYPE(uint,unsigned long int) dnl Checks for library functions. - AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand bcopy bzero) + AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand bcopy bzero time) RFX_CHECK_AVI2SWF avi2swf="avi2swf/Makefile" -- 1.7.10.4