X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=337863f41b2aa41520c81c5c0479f88cd693e54f;hb=91f07304c9e9687652450f53938d76e1f60ddf76;hp=29e8311d2c486b115256aa23854a39736d4498f6;hpb=32d41be296f2b41042c5f8fce695252b7d1d65d4;p=swftools.git diff --git a/configure.in b/configure.in index 29e8311..337863f 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,5 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/) -AC_ARG_PROGRAM export PACKAGE=swftools export VERSION=0.2.0 @@ -16,6 +15,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 @@ -40,6 +40,11 @@ dnl Checks for libraries. MISSINGLIBS="${MISSINGLIBS} T1lib" ) +SWF_CHECK_BYTEORDER +AC_SUBST(WORDS_BIGENDIAN) + +AC_ARG_PROGRAM + dnl do we need those? dnl AC_CHECK_LIB(pthread, pthread_create) dnl AC_CHECK_LIB(X11, XFlush) @@ -91,7 +96,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