X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=1fab7a4836fff5eaf07317a8fdb1c06dd702bb1c;hb=9dd3c056922a1f370c0543c43adae040723bc454;hp=f8d5888d4b84d9e4f72ceb8022831a96e7d0be21;hpb=405aeac1c1c3a78287446b92863d7326f14bb05e;p=swftools.git diff --git a/configure.in b/configure.in index f8d5888..1fab7a4 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,11 @@ 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) @@ -18,7 +21,7 @@ AC_ARG_ENABLE(lame, [ --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 # ------------------------------------------------------------------ @@ -75,9 +78,14 @@ MACOSX= 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 @@ -172,7 +180,7 @@ dnl Checks for libraries. 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) @@ -404,11 +412,14 @@ fi # ------------------------------------------------------------------ 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