dnl Process this file with autoconf to produce a configure script.
-dnl AC_INIT(src/) # old autoconf
-AC_INIT
-AC_CONFIG_SRCDIR([src/])
+dnl old autoconf
+AC_INIT(src/)
+
+dnl new autoconf
+dnl AC_INIT
+dnl AC_CONFIG_SRCDIR([src/])
AC_ARG_ENABLE(checkmem,
[ --enable-checkmem turn on ccmalloc debugging], CHECKMEM=true)
[ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true)
PACKAGE=swftools
-VERSION=0.6.3
+VERSION=2005-09-25-1334
# ------------------------------------------------------------------
case $host_os in
*darwin* )
MACOSX=yes
- CFLAGS="$CFLAGS -fno-rtti"
+ CFLAGS="$CFLAGS"
CXXFLAGS="$CXXFLAGS -fno-rtti"
SHARED="-bundle"
+ # Use fink packages if available.
+ #if test -d /sw/include && test -d /sw/lib; then
+ # CPPFLAGS="${CPPFLAGS} -I/sw/include"
+ # LDFLAGS="${LDFLAGS} -L/sw/lib"
+ #fi
;;
esac
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, EGifOpenFileName,, UNGIFMISSING=true)
+ AC_CHECK_LIB(ungif, DGifOpen,, UNGIFMISSING=true)
RFX_CHECK_BYTEORDER
AC_SUBST(WORDS_BIGENDIAN)
# ------------------------------------------------------------------
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}"
+FILES="$release_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile"
+
+dnl old autoconf
+AC_OUTPUT(${FILES})
-dnl AC_OUTPUT(${FILES}) old autoconf
-AC_CONFIG_FILES([${FILES}])
-AC_OUTPUT
+dnl new autoconf
+dnl AC_CONFIG_FILES([${FILES}])
+dnl AC_OUTPUT
#
# On development trees, create snapshots of config.status