[ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true)
PACKAGE=swftools
-VERSION=2007-02-06-1213
+VERSION=2008-04-02-1230
# ------------------------------------------------------------------
fi
AC_CHECK_LIB(jpeg, jpeg_write_raw_data,, JPEGLIBMISSING=true)
-AC_CHECK_LIB(t1, T1_LoadFont,, T1LIBMISSING=true)
AC_CHECK_LIB(ungif, DGifOpen,, UNGIFMISSING=true)
if test "$UNGIFMISSING";then
UNGIFMISSING=
AC_CONFIG_HEADER(config.h)
AC_HEADER_DIRENT
AC_HEADER_STDC
- AC_CHECK_HEADERS(zlib.h gif_lib.h jpeglib.h t1lib.h assert.h signal.h pthread.h sys/stat.h sys/types.h dirent.h sys/bsdtypes.h sys/ndir.h sys/dir.h ndir.h time.h)
+ AC_CHECK_HEADERS(zlib.h gif_lib.h io.h wchar.h jpeglib.h assert.h signal.h pthread.h sys/stat.h sys/types.h dirent.h sys/bsdtypes.h sys/ndir.h sys/dir.h ndir.h time.h sys/time.h sys/resource.h)
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_CHECK_TYPE(boolean,int) #needed for jpeglib
- AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand bcopy bzero time)
+ AC_CHECK_FUNCS(popen wcschr wcsdup mkstemp stat lrand48 rand srand48 srand bcopy bzero time getrusage mallinfo)
AC_CHECK_SIZEOF([signed])
AC_CHECK_SIZEOF([unsigned])
RFX_CHECK_FREETYPE
-#RFX_CHECK_FONTCONFIG
+RFX_CHECK_FONTCONFIG
lame_objects=
lame_makefile=
DISABLEJPEG2SWF=true
PARTIAL=true
fi
-if test "x$T1LIBMISSING" = "xtrue";then
- MISSINGLIBS="${MISSINGLIBS} t1lib"
-fi
+#if test "x$T1LIBMISSING" = "xtrue";then
+# MISSINGLIBS="${MISSINGLIBS} t1lib"
+#fi
if test "x$UNGIFMISSING" = "xtrue";then
DISABLEGIF2SWF=true
MISSINGLIBS="${MISSINGLIBS} ungif"
MISSINGLIBS="${MISSINGLIBS} freetype"
PARTIAL=true
fi
-if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
- MISSINGLIBS="${MISSINGLIBS} t1lib.h"
-fi
+#if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
+# MISSINGLIBS="${MISSINGLIBS} t1lib.h"
+#fi
if test "x${ac_cv_header_gif_lib_h}" '!=' "xyes"; then
DISABLEGIF2SWF=true
MISSINGLIBS="${MISSINGLIBS} gif_lib.h"
if test -f "release.in"; then release_in="./release"; fi
if test -f "wx/Makefile.in"; then wx_in="wx/Makefile"; fi
-FILES="$release_in $wx_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile pdf2swf/fonts/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile lib/swf/Makefile"
+FILES="$release_in $wx_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile pdf2swf/fonts/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile lib/readers/Makefile"
AC_OUTPUT(${FILES})
dnl new autoconf