Bug 15762 - configure failed with option "--disable-xvmc" if libXvMC not installed
Summary: configure failed with option "--disable-xvmc" if libXvMC not installed
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Depends on:
Reported: 2008-04-29 21:53 UTC by WuNian
Modified: 2008-05-06 18:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

check xvmc lib only if xvmc require enabled (1.48 KB, patch)
2008-05-05 20:52 UTC, Wang Zhenyu
no flags Details | Splinter Review

Description WuNian 2008-04-29 21:53:37 UTC
intel 2D driver has configuration option "--disable-xvmc".
I have not install libXvMC and compile intel driver with:
./autogen.sh --disable-xvmv

It failed with info:
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto xvmc fontsproto  xineramaproto randrproto renderproto xextproto x11 xextproto) were not met:

No package 'xvmc' found

If install libXvMC at first, intel drive can compile pass.

Expected result:
If use option "--disable-xvmc", we do not need install libXvMC ahead.
Comment 1 Wang Zhenyu 2008-05-05 20:52:02 UTC
Created attachment 16372 [details] [review]
check xvmc lib only if xvmc require enabled

pls test with this patch.
Comment 2 WuNian 2008-05-05 22:20:05 UTC
The patch works. Please commit in.
Comment 3 Wang Zhenyu 2008-05-05 22:58:58 UTC
Patch's pushed. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.