Created attachment 29591 [details] [review] patch to fix cross compiling configure.ac uses AC_CHECK_FILE to check for headers. That's the wrong macro. It bails when cross compiling, because it is to check for files on the target system. AC_CHECK_HEADER is for headers. Patch to fix this attached.
This doesn't seem to work if some headers aren't in /usr/include - probably need some CFLAGS tricks for that...
Created attachment 29599 [details] [review] updated patch next try. Is this better? I tried to do 'real' header checks but I gave up after adding the 4th extra header to include. Any reason why the dri header don't include everything they need?
Created attachment 29615 [details] [review] Patch which works for me That was close but still didn't quite work here. This one does, does it also work for you?
Yes, the new patch works for me too.
Fix pushed to Git master and 6.12-branch, 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.