X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=configure.in;h=26a2d08b16a87caa4d911d1af763e3c42dcce416;hp=a0539994725b1bfb585887ef4836bb777a52f0b6;hb=2beffe5208c8d3180e4ab6aba8a2c306f6113d82;hpb=e9fc8c3b319a6575a53a58a1b672a6956de05117 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)