X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=b1d1ba1cc3fb5f5b4a8c13ebe6b1e172d374a63f;hb=a3eecab9e8f6a1b0b887f1bd082bd064f01ecffd;hp=6be5da7a22fb9143d99a1e93c781c790de363d0e;hpb=a4bdcfe2e93b1b79d705f9f8c5db5169483b393e;p=swftools.git diff --git a/configure.in b/configure.in index 6be5da7..b1d1ba1 100644 --- a/configure.in +++ b/configure.in @@ -21,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.8.0 +VERSION=2007-04-28-2027 # ------------------------------------------------------------------ @@ -60,6 +60,10 @@ else CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS" fi fi + +CFLAGS="-fPIC $CFLAGS" +CXXFLAGS="-fPIC $CFLAGS" + #OLDGCC=1 #if test "x$OLDGCC" '!=' "x";then # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic" @@ -208,7 +212,6 @@ if test "x$ZLIBMISSING" = "xtrue";then 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= @@ -226,7 +229,7 @@ dnl Checks for header files. 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 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) AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(VERSION, "$VERSION") @@ -338,9 +341,9 @@ if test "x$JPEGLIBMISSING" = "xtrue";then 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" @@ -358,9 +361,9 @@ if test "x$HAVE_FREETYPE" '!=' "x1"; then 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" @@ -447,9 +450,8 @@ 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 pdf2swf/fonts/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile" - -dnl old autoconf +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" AC_OUTPUT(${FILES}) dnl new autoconf