X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=configure;h=b9b0c6946f114696bc5c0aee7849cd7e02b03e9b;hb=5aadcec24adc5c7e22c1346b5a79a0d9ebfc0be9;hp=1e3bbdcff471aa124ef91571ada242a77a4c00e2;hpb=311fd1d9c9d9c740e913d0edf746a5f4b0484762;p=swftools.git diff --git a/configure b/configure index 1e3bbdc..b9b0c69 100755 --- a/configure +++ b/configure @@ -1388,14 +1388,14 @@ echo "Error: The zlib compression library is required." fi - echo $ac_n "checking for jpeg_write_raw_data in -ljpeg""... $ac_c" 1>&6 -echo "configure:1393: checking for jpeg_write_raw_data in -ljpeg" >&5 -ac_lib_var=`echo jpeg'_'jpeg_write_raw_data | sed 'y%./+-%__p_%'` + echo $ac_n "checking for jpeg_write_raw_data in -lxjpeg""... $ac_c" 1>&6 +echo "configure:1393: checking for jpeg_write_raw_data in -lxjpeg" >&5 +ac_lib_var=`echo xjpeg'_'jpeg_write_raw_data | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-ljpeg $LIBS" +LIBS="-lxjpeg $LIBS" cat > conftest.$ac_ext <&6 - ac_tr_lib=HAVE_LIB`echo jpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + ac_tr_lib=HAVE_LIB`echo xjpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 @@ -2793,21 +2793,25 @@ fi done +export JPEG2SWF='jpeg2swf$(EXEEXT)' if test "x${DISABLEPDF2SWF}" = "xtrue"; then echo "***************************************************" echo "The following headers/libraries are missing: " ${MISSINGLIBS} echo "Disabling pdf2swf tool..." rm pdf2swf/Makefile echo all: > pdf2swf/Makefile + echo install: >> pdf2swf/Makefile if test "x${DISABLEJPEG2SWF}" = "xtrue"; then echo "Disabling jpeg2swf tool..." - fi + export JPEG2SWF= + fi echo "***************************************************" FILES="./release Makefile lib/Makefile src/Makefile" else FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/fonts/Makefile" fi + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -2956,6 +2960,7 @@ s%@PACKAGE@%$PACKAGE%g s%@VERSION@%$VERSION%g s%@HAVE_UNISTD_H@%$HAVE_UNISTD_H%g s%@LIBOBJS@%$LIBOBJS%g +s%@JPEG2SWF@%$JPEG2SWF%g CEOF EOF