Ticket #7920: configure.x264.patch

File configure.x264.patch, 792 bytes (added by eltorio@…, 16 years ago)

patch for detecting latest libx264

  • configure

    old new  
    31223122enabled libspeex   && require  libspeex speex/speex.h speex_decoder_init -lspeex
    31233123enabled libtheora  && require  libtheora theora/theora.h theora_info_init -ltheora -logg
    31243124enabled libvorbis  && require  libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
    3125 enabled libx264    && require  libx264 x264.h x264_encoder_open -lx264 -lm &&
     3125enabled libx264    && require2  libx264 "stdint.h x264.h" x264_encoder_open -lx264 -lm &&
    31263126                      { check_cpp_condition x264.h "X264_BUILD >= 65" ||
    31273127                        die "ERROR: libx264 version must be >= 0.65."; }
    31283128enabled libxvid    && require  libxvid xvid.h xvid_global -lxvidcore