X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure;h=0cc55acc124b73075b1b662efd3a037221de4a02;hb=3361b92fdc95fe004aab92621eada57022a8bf38;hp=b9b0c6946f114696bc5c0aee7849cd7e02b03e9b;hpb=190ca89cfcbf7093f55b6532a325de1e57d82a75;p=swftools.git diff --git a/configure b/configure index b9b0c69..0cc55ac 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 -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_%'` + 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_%'` 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="-lxjpeg $LIBS" +LIBS="-ljpeg $LIBS" cat > conftest.$ac_ext <&6 - ac_tr_lib=HAVE_LIB`echo xjpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + ac_tr_lib=HAVE_LIB`echo jpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 @@ -2798,7 +2798,7 @@ if test "x${DISABLEPDF2SWF}" = "xtrue"; then echo "***************************************************" echo "The following headers/libraries are missing: " ${MISSINGLIBS} echo "Disabling pdf2swf tool..." - rm pdf2swf/Makefile + rm -f pdf2swf/Makefile echo all: > pdf2swf/Makefile echo install: >> pdf2swf/Makefile if test "x${DISABLEJPEG2SWF}" = "xtrue"; then