X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=configure.in;h=61790a84f68df5eb6aacf2c510e80273a33d82cb;hp=29e8311d2c486b115256aa23854a39736d4498f6;hb=2d592fb2f94a9b617bc907251dab6822b637982b;hpb=32d41be296f2b41042c5f8fce695252b7d1d65d4 diff --git a/configure.in b/configure.in index 29e8311..61790a8 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,13 @@ dnl Checks for libraries. MISSINGLIBS="${MISSINGLIBS} T1lib" ) +SWF_CHECK_BYTEORDER +AC_SUBST(WORDS_BIGENDIAN) +SWF_CHECK_SYSTEM_BACKTICKS +AC_SUBST(SYSTEM_BACKTICKS) + +AC_ARG_PROGRAM + dnl do we need those? dnl AC_CHECK_LIB(pthread, pthread_create) dnl AC_CHECK_LIB(X11, XFlush) @@ -91,7 +98,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 @@ -106,9 +118,9 @@ if test "x${DISABLEPDF2SWF}" = "xtrue"; then export JPEG2SWF= fi echo "***************************************************" - FILES="./release Makefile lib/Makefile src/Makefile" + FILES="./release Makefile lib/Makefile src/Makefile swfs/Makefile" else - FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile" + FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile" fi AC_SUBST(JPEG2SWF)