Ticket #4930: mythtv-0.21-configure_xvmc.patch

File mythtv-0.21-configure_xvmc.patch, 1.6 KB (added by anonymous, 12 years ago)
  • configure

    diff -Naur mythtv-0.21-16483-old/configure mythtv-0.21-16483-new/configure
    old new  
    27022702check_header X11/extensions/XvMClib.h
    27032703has_library libXvMCW || disable xvmcw
    27042704check_header X11/extensions/vldXvMC.h
    2705 has_library libviaXvMC || has_library libchromeXvMC || disable xvmc_vld
    2706 has_library libviaXvMCPro || has_library libchromeXvMCPro || disable xvmc_pro
     2705has_library libviaXvMC || has_library libchromeXvMC || enabled xvmcw || disable xvmc_vld
     2706has_library libviaXvMCPro || has_library libchromeXvMCPro || enabled xvmcw || disable xvmc_pro
    27072707
    27082708if test x"$xvmc_lib" != x""; then
    27092709    VENDOR_XVMC_LIBS="-l"$xvmc_lib
    2710     disable xvmcw
    27112710elif enabled xvmcw; then
    27122711    VENDOR_XVMC_LIBS="-lXvMCW"
    27132712elif enabled xvmc_pro; then
     
    27152714        VENDOR_XVMC_LIBS="-lviaXvMCPro"
    27162715    elif has_library libchromeXvMCPro ; then
    27172716        VENDOR_XVMC_LIBS="-lchromeXvMCPro"
     2717    elif has_library libXvMCW ; then
     2718        VENDOR_XVMC_LIBS="-lXvMCW"
    27182719    fi
    27192720elif enabled xvmc_vld; then
    27202721    if has_library libviaXvMC ; then
    27212722        VENDOR_XVMC_LIBS="-lviaXvMC"
    27222723    elif has_library libchromeXvMC ; then
    27232724        VENDOR_XVMC_LIBS="-lchromeXvMC"
     2725    elif has_library libXvMCW ; then
     2726        VENDOR_XVMC_LIBS="-lXvMCW"
    27242727    fi
    27252728elif has_library libXvMCNVIDIA ; then
    27262729    VENDOR_XVMC_LIBS="-lXvMCNVIDIA"
     
    27302733    disable xvmc
    27312734fi
    27322735
     2736test x"$VENDOR_XVMC_LIBS" != x"-lXvMCW" && disable xvmcw
    27332737test x"$VENDOR_XVMC_LIBS" != x"-lXvMCNVIDIA" && disable xvmc_opengl
    27342738
    27352739enabled xvmc_pro && enable xvmc_vld