+
# Check whether --enable-checkmem or --disable-checkmem was given.
if test "${enable_checkmem+set}" = set; then
enableval="$enable_checkmem"
fi;
PACKAGE=swftools
-VERSION=0.5.1
+VERSION=2004-05-18-1254
+
WARNINGS="-Wparentheses -Wimplicit -Wreturn-type"
if test "x$ENABLE_WARNINGS" '!=' "x";then
- WARNINGS="-Wall -Wno-unused -Wno-format"
+ WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls"
fi
if test "x$CHECKMEM" '!=' "x";then
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4786 "configure"' > conftest.$ac_ext
+ echo '#line 4788 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:5362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:5364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
libsuff=
case "$host_cpu" in
x86_64*)
- echo '#line 6571 "configure"' > conftest.$ac_ext
+ echo '#line 6573 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7319 "configure"
+#line 7321 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7417 "configure"
+#line 7419 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
OLDCPPFLAGS="${CPPFLAGS}"
OLDLIBS="${LIBS}"
if test "x${FREETYPE_CONFIG}" != "x"; then
- CPPFLAGS="$CFLAGS "`freetype-config --cflags`
+ CPPFLAGS="$CPPFLAGS "`freetype-config --cflags`
else if test -d /usr/include/freetype2; then
- CPPFLAGS="$CFLAGS -I/usr/include/freetype2"
+ CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
else if test -d /usr/local/include/freetype2; then
- CPPFLAGS="$CFLAGS -I/usr/local/include/freetype2"
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2"
fi
fi
fi
}
EOF
- ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LIBS -o conftest${ac_exeext}'
+ ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
EOF
if test "x$AVIFILE_CONFIG" '!=' "x";then
- ac_link='$CXX $CPPFLAGS $CXXFLAGS `$AVIFILE_CONFIG --cflags` `$AVIFILE_CONFIG --libs` conftest.cpp -o conftest${ac_exeext}'
+ ac_link='$CXX $CPPFLAGS $CXXFLAGS `$AVIFILE_CONFIG --cflags` conftest.cpp `$AVIFILE_CONFIG --libs` -o conftest${ac_exeext}'
if { (eval echo avi2swf.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
export JPEG2SWF
PNG2SWF='png2swf$(E)'
export PNG2SWF
+
+if test "x" = "x"; then
+ pythonrfxswf="lib/python/Makefile"
+else
+ echo all install uninstall clean: > lib/python/Makefile
+fi
+
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
echo "***************************************************"
echo "The following headers/libraries are missing: " ${MISSINGLIBS}
echo "or write compressed Flash MX files!"
fi
echo "***************************************************"
- FILES="./release Makefile.common ${avi2swf} Makefile lib/lame/Makefile lib/Makefile lib/action/Makefile src/Makefile swfs/Makefile"
+ FILES="./release Makefile.common ${avi2swf} Makefile lib/lame/Makefile lib/Makefile lib/action/Makefile src/Makefile swfs/Makefile ${pythonrfxswf}"
else
- FILES="./release Makefile.common ${avi2swf} Makefile lib/lame/Makefile lib/Makefile lib/action/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile swfs/Makefile"
+ FILES="./release Makefile.common ${avi2swf} Makefile lib/lame/Makefile lib/Makefile lib/action/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile swfs/Makefile ${pythonrfxswf}"
fi
ac_config_files="$ac_config_files ${FILES}"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure