Ticket #484: configure_libexif.patch

File configure_libexif.patch, 1.3 KB (added by gkruse@…, 20 years ago)

--use-new-libexif configure patch

  • configure

     
    6666MythGallery related options:
    6767  --enable-mythgallery     build the mythgallery plugin [$gallery]
    6868  --enable-exif            enable reading of EXIF headers [$exif]
     69  --use-new-libexif        use libexif > version 0.6.9 [$newexif]
    6970
    7071MythGame related options:
    7172  --enable-mythgame        build the mythgame plugin [$game]
     
    162163  ;;
    163164  --enable-exif) exif="yes"
    164165  ;;
     166  --use-new-libexif) newexif="yes"
     167  ;;
    165168  --disable-exif) exif="no"
    166169  ;;
    167170  --enable-festival) festival="yes"
     
    654657                    ./mythgallery/mythgallery/config.h
    655658            fi
    656659        else
     660            if test "$newexif" = "yes" ; then
     661                echo "#define NEW_LIB_EXIF 1" >> \
     662                    ./mythgallery/mythgallery/config.h
     663        else
    657664            echo
    658665            echo "Could not determine libexif version, if it is greater than"
    659             echo "or equal to 0.6.9 you may need to add this line: "
    660             echo "#define NEW_LIB_EXIF 1"
    661             echo "to mythgallery/mythgallery/config.h"
     666            echo "or equal to 0.6.9 you need to add --use-new-libexif to the"
     667            echo "configure flags"
    662668            echo
     669            fi
    663670        fi
    664671    fi
    665672