| Summary: | autoconf incorrectly tests for fbcon support | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sean D'Epagnier <spdepagn> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | All | ||
| OS: | Linux | ||
I checked out all the various types.h files, and they all have include-once blockers in them. Are you sure this is the actual issue? Can you attach config.log from a configure run that fails the fbcon test so I can verify? --ryan. Assuming this was fixed by newer Linux kernel headers, as I couldn't ever reproduce it here. --ryan. |
Hi, I ran the configure script and it did not detect support for fbcon, when in fact my system supports it. I know the exact fix, it is a change in configure.in, on line 1112, should be changed to: AC_TRY_COMPILE([ #include <linux/fb.h> #include <linux/kd.h> ],[ ... The problem is both kd.h and keyboard.h include types.h so there are re-definitions. I believe fb.h and kd.h are sufficient for detecting fbcon support. My system is gentoo linux 2.6.13 amd64, feel free to ask for any additional information. Thanks