We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 271 - autoconf incorrectly tests for fbcon support
Summary: autoconf incorrectly tests for fbcon support
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 1.2
Hardware: All Linux
: P2 major
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 05:31 UTC by Sean D'Epagnier
Modified: 2007-05-28 21:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean D'Epagnier 2006-07-02 05:31:46 UTC
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
Comment 1 Ryan C. Gordon 2006-07-02 07:25:20 UTC
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.

Comment 2 Ryan C. Gordon 2007-05-28 21:36:00 UTC
Assuming this was fixed by newer Linux kernel headers, as I couldn't ever reproduce it here.

--ryan.