From: kramm Date: Sat, 16 Feb 2002 19:51:44 +0000 (+0000) Subject: cleaned up. X-Git-Tag: release-0-2-3~9 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=2beffe5208c8d3180e4ab6aba8a2c306f6113d82 cleaned up. --- diff --git a/config.h.in b/config.h.in index ef46f24..6cb3873 100644 --- a/config.h.in +++ b/config.h.in @@ -4,15 +4,6 @@ /* Define to empty if the keyword does not work. */ #undef const -/* Define if you don't have vprintf but do have _doprnt. */ -#undef HAVE_DOPRNT - -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define if you have the vprintf function. */ -#undef HAVE_VPRINTF - /* Define as __inline if that's what the C compiler calls it. */ #undef inline @@ -22,72 +13,39 @@ /* Define to `unsigned' if doesn't define. */ #undef size_t -/* Define to 1 if this machine has network byte order*/ -#undef WORDS_BIGENDIAN - /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define if your declares struct tm. */ #undef TM_IN_SYS_TIME -/* Define if you have the getcwd function. */ -#undef HAVE_GETCWD - -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE - -/* Define if you have the putenv function. */ -#undef HAVE_PUTENV - -/* Define if you have the socket function. */ -#undef HAVE_SOCKET - -/* Define if you have the strcspn function. */ -#undef HAVE_STRCSPN - -/* Define if you have the strdup function. */ -#undef HAVE_STRDUP - -/* Define if you have the strerror function. */ -#undef HAVE_STRERROR - -/* Define if you have the strstr function. */ -#undef HAVE_STRSTR - /* Define if you have the lrand48 function. */ #undef HAVE_LRAND48 -/* Define if you have the lrand48 function. */ +/* Define if you have the mkstemp function. */ +#undef HAVE_MKSTEMP + +/* Define if you have the popen function. */ +#undef HAVE_POPEN + +/* Define if you have the rand function. */ #undef HAVE_RAND -/* Define if you have the lrand48 function. */ +/* Define if you have the srand function. */ +#undef HAVE_SRAND + +/* Define if you have the srand48 function. */ #undef HAVE_SRAND48 -/* Define if you have the lrand48 function. */ -#undef HAVE_SRAND +/* Define if you have the stat function. */ +#undef HAVE_STAT /* Define if you have the header file. */ #undef HAVE_DIRENT_H -/* Define if you have the header file. */ -#undef HAVE_FCNTL_H - /* Define if you have the header file. */ #undef HAVE_JPEGLIB_H -/* Define if you have the header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the header file. */ -#undef HAVE_MALLOC_H - -/* Define if you have the header file. */ -#undef HAVE_MATH_H - -/* Define if you have the header file. */ -#undef HAVE_MEMORY_H - /* Define if you have the header file. */ #undef HAVE_NDIR_H @@ -106,24 +64,15 @@ /* Define if you have the header file. */ #undef HAVE_T1LIB_H -/* Define if you have the header file. */ -#undef HAVE_UNISTD_H - /* Define if you have the header file. */ #undef HAVE_ZLIB_H -/* Define if you have the X11 library (-lX11). */ -#undef HAVE_LIBX11 - /* Define if you have the jpeg library (-ljpeg). */ #undef HAVE_LIBJPEG /* Define if you have the m library (-lm). */ #undef HAVE_LIBM -/* Define if you have the pthread library (-lpthread). */ -#undef HAVE_LIBPTHREAD - /* Define if you have the t1 library (-lt1). */ #undef HAVE_LIBT1 @@ -145,4 +94,7 @@ /* system() can handle command substitution */ #undef SYSTEM_BACKTICKS +/* Define to 1 if this machine has network byte order*/ +#undef WORDS_BIGENDIAN + #endif diff --git a/configure.in b/configure.in index a053999..26a2d08 100644 --- a/configure.in +++ b/configure.in @@ -3,8 +3,8 @@ AC_INIT(src/) PACKAGE=swftools VERSION=0.2.2 -CFLAGS="-O2 -fomit-frame-pointer" -CXXFLAGS="-O2 -fomit-frame-pointer" +CFLAGS="-Wimplicit -Wreturn-type -O2 -fomit-frame-pointer" +CXXFLAGS="-Wimplicit -Wreturn-type -O2 -fomit-frame-pointer" export PACKAGE VERSION CFLAGS CXXFLAGS dnl Checks for programs. @@ -57,7 +57,7 @@ dnl AC_PATH_X dnl AC_PATH_XTRA AC_HEADER_DIRENT AC_HEADER_STDC - AC_CHECK_HEADERS(math.h fcntl.h limits.h malloc.h unistd.h memory.h zlib.h jpeglib.h t1lib.h sys/stat.h sys/types.h) + AC_CHECK_HEADERS(zlib.h jpeglib.h t1lib.h sys/stat.h sys/types.h dirent.h sys/ndir.h sys/dir.h ndir.h) if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then DISABLEPDF2SWF=true; @@ -95,10 +95,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. dnl AC_CHECK_TYPE(uint,unsigned long int) dnl Checks for library functions. - AC_FUNC_MEMCMP - AC_FUNC_MMAP - AC_FUNC_VPRINTF - AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr lrand48 rand srand48 srand) + AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand) if test "x${UNCOMPRESS}" = "xgzip"; then AC_DEFINE_UNQUOTED(USE_GZIP, 1)