Ticket #5196: 105-config-XVMC.patch

File 105-config-XVMC.patch, 1.4 KB (added by cizek@…, 16 years ago)
  • mythtv/configure

    diff -r -u -X diff.exclude release.17014.0410a/mythtv/configure release.17014.0410b/mythtv/configure
     
    27252725    disable xvmcw
    27262726elif enabled xvmcw; then
    27272727    VENDOR_XVMC_LIBS="-lXvMCW"
    2728 elif enabled xvmc_pro; then
     2728fi
     2729if enabled xvmc_pro && test x"$VENDOR_XVMC_LIBS" == x""; then
    27292730    if has_library libviaXvMCPro ; then
    27302731        VENDOR_XVMC_LIBS="-lviaXvMCPro"
    27312732    elif has_library libchromeXvMCPro ; then
     
    27332734    else
    27342735        disable xvmc_pro
    27352736    fi
    2736 elif enabled xvmc_vld; then
     2737fi
     2738if enabled xvmc_vld && test x"$VENDOR_XVMC_LIBS" == x""; then
    27372739    if has_library libviaXvMC ; then
    27382740        VENDOR_XVMC_LIBS="-lviaXvMC"
    27392741    elif has_library libchromeXvMC ; then
     
    27412743    else
    27422744        disable xvmc_pro
    27432745    fi
    2744 elif has_library libXvMCNVIDIA ; then
    2745     VENDOR_XVMC_LIBS="-lXvMCNVIDIA"
    2746 elif has_library libI810XvMC ; then
    2747     VENDOR_XVMC_LIBS="-lI810XvMC"
    2748 else
    2749     disable xvmc xvmcw
     2746fi
     2747
     2748if test x"$VENDOR_XVMC_LIBS" == x""; then
     2749    if has_library libXvMCNVIDIA ; then
     2750        VENDOR_XVMC_LIBS="-lXvMCNVIDIA"
     2751    elif has_library libI810XvMC ; then
     2752        VENDOR_XVMC_LIBS="-lI810XvMC"
     2753    else
     2754        disable xvmc xvmcw
     2755    fi
    27502756fi
    27512757
    27522758if test x"$VENDOR_XVMC_LIBS" == x"-lXvMCNVIDIA" ; then