Ticket #3870: xvmc_configure.diff

File xvmc_configure.diff, 505 bytes (added by Roo <roo.watt@…>, 17 years ago)

Test for xvmc headers when enabled

  • mythtv/configure

     
    26702670enabled xv && has_library libXv || disable xv
    26712671
    26722672VENDOR_XVMC_LIBS=""
    2673 if enabled xvmc; then
     2673if enabled xvmc && has_header X11/extensions/XvMClib.h ; then
    26742674    xvmc="no"
    26752675    if ! has_library libXvMCW ; then
    26762676        xvmcw="no"
     
    27152715        fi
    27162716    fi
    27172717else
     2718    xvmc="no"
    27182719    xvmc_vld="no"
    27192720fi
    27202721