[ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true)
PACKAGE=swftools
-VERSION=2006-05-01-1103
+VERSION=2007-01-13-1826
# ------------------------------------------------------------------
exit 1
fi
-WARNINGS="-Wparentheses -Wimplicit -Wreturn-type"
+WARNINGS="-Wparentheses -Wimplicit -Wreturn-type -Wno-unused-value"
if test "x$ENABLE_WARNINGS" '!=' "x";then
- WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls"
+ WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -D_FORTIFY_SOURCE=2 "
fi
if test "x$CHECKMEM" '!=' "x";then
if test "x$PROFILING" = "x";then
CFLAGS="$WARNINGS -O2 -g $CFLAGS"
CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
+ LDFLAGS="-g $LIBS"
else
CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
- AC_PROG_LIBTOOL
AC_CHECK_PROGS(UNCOMPRESS, gzip uncompress compress, )
dnl Checks for system services
# this must be done after (I believe) AC_PROG_MAKE_SET
-if test "x$DEBUG" '!=' "x";then
+if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
STRIP="@echo debug enabled, not stripping "
export STRIP
AC_SUBST(STRIP)
exit;
)
AC_CHECK_LIB(z, deflate,, ZLIBMISSING=true)
- 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 "x$ZLIBMISSING" = "xtrue";then
+ echo
+ echo "ERROR:"
+ echo "You need zlib to compile swftools"
+ echo
+ exit
+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 "$UNGIFMISSING";then
+ UNGIFMISSING=
+ AC_CHECK_LIB(gif, DGifOpen,, UNGIFMISSING=true)
+fi
RFX_CHECK_BYTEORDER
AC_SUBST(WORDS_BIGENDIAN)
avi2swf=
fi
-pdf2swf_makefile="pdf2swf/Makefile pdf2swf/xpdf/Makefile"
+pdf2swf_makefile="lib/pdf/Makefile"
PDF2SWF='pdf2swf$(E)'
LIBPDF='libpdf$(A)'
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
echo "* Disabling pdf2swf tool..."
- rm -f pdf2swf/Makefile
- echo all install uninstall clean: > pdf2swf/Makefile
+ rm -f lib/pdf/Makefile
+ echo all install uninstall clean: > lib/pdf/Makefile
pdf2swf_makefile=""
PDF2SWF=
LIBPDF=
# ------------------------------------------------------------------
if test -f "release.in"; then release_in="./release"; fi
-FILES="$release_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile"
+FILES="$release_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"
dnl old autoconf
AC_OUTPUT(${FILES})