X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=941717956c8cad87dd85bae0dc733b6082082881;hb=fb7a76729269e68ae9e8ea9160aed93909445723;hp=f0ad1be740130093cec268faa9fb186a1f9e23d7;hpb=511bbbd019c830f9ce3c519b446a159027f74874;p=swftools.git diff --git a/configure.in b/configure.in index f0ad1be..9417179 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ AC_INIT(src/) AC_ARG_PROGRAM export PACKAGE=swftools -export VERSION=0.1.2 +export VERSION=0.2.0 export CFLAGS="-O2 -fomit-frame-pointer" export CXXFLAGS="-O2 -fomit-frame-pointer" @@ -16,6 +16,7 @@ dnl Checks for programs. AC_PROG_MAKE_SET AC_PROG_INSTALL AC_PROG_LN_S + AC_CHECK_PROGS(UNCOMPRESS, gzip uncompress compress, ) dnl Checks for system services AC_EXEEXT @@ -80,6 +81,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. AC_TYPE_OFF_T AC_TYPE_SIZE_T AC_STRUCT_TM + AC_CHECK_TYPE(boolean,int) dnl AC_CHECK_TYPE(uchar,unsigned char) dnl AC_CHECK_TYPE(schar,signed char) dnl AC_CHECK_TYPE(word,unsigned short int) @@ -90,7 +92,12 @@ dnl Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_MMAP AC_FUNC_VPRINTF - AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr) + AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr lrand48 rand srand48 srand) + +if test "x${UNCOMPRESS}" = "xgzip"; then + AC_DEFINE_UNQUOTED(USE_GZIP, 1) +fi +AC_SUBST(USE_GZIP) export JPEG2SWF='jpeg2swf$(EXEEXT)' if test "x${DISABLEPDF2SWF}" = "xtrue"; then