Bug 57606 - xf86-video-mga doesn't cross-compile
Summary: xf86-video-mga doesn't cross-compile
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/mga (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Tilman Sauerbeck
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 11:21 UTC by Ross Burton
Modified: 2018-08-10 20:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch (2.18 KB, patch)
2012-11-29 11:06 UTC, Ross Burton
no flags Details | Splinter Review

Description Ross Burton 2012-11-27 11:21:35 UTC
configure.ac says:

if test "x$DRI" != xno; then
        AC_CHECK_FILE([${sdkdir}/dri.h],
                      [have_dri_h="yes"], [have_dri_h="no"])
        AC_CHECK_FILE([${sdkdir}/sarea.h],
                      [have_sarea_h="yes"], [have_sarea_h="no"])
        AC_CHECK_FILE([${sdkdir}/dristruct.h],
                      [have_dristruct_h="yes"], [have_dristruct_h="no"])
fi

When cross-compiling, this happens:

| configure:18074: checking for /usr/include/xorg/dri.h
| configure:18080: error: cannot check for file existence when cross compiling

Why isn't a pkgconfig check sufficient?
Comment 1 Ross Burton 2012-11-29 11:06:41 UTC
Created attachment 70784 [details] [review]
Patch
Comment 2 GitLab Migration User 2018-08-10 20:43:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-mga/issues/12.


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.