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 114

Summary: Are X11 extension checks in configure.in necessary?
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: x86   
OS: Linux   

Description Ryan C. Gordon 2006-01-30 12:10:17 UTC
We have a bunch of AC_TRY_COMPILE checks in the configure script for things like --enable-video-x11-vm ... these are now dynamically loaded, so we fail gracefully at runtime if the libraries aren't installed, and we include the extension code and headers in SDL, so we don't need to check if the build system has these extensions, either. Should we just remove these blocks from configure.in? Should we just remove the compile checks, leaving this as a switch to explicitly disable the support at build time?

--ryan.
Comment 1 Sam Lantinga 2006-01-31 09:11:50 UTC
(In reply to comment #0)
> We have a bunch of AC_TRY_COMPILE checks in the configure script for things
> like --enable-video-x11-vm ... these are now dynamically loaded, so we fail
> gracefully at runtime if the libraries aren't installed, and we include the
> extension code and headers in SDL, so we don't need to check if the build
> system has these extensions, either. Should we just remove these blocks from
> configure.in? Should we just remove the compile checks, leaving this as a
> switch to explicitly disable the support at build time?

Sure, that sounds fine.