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 714 - Compile fails if libiconv exists but iconv.h is missing
Summary: Compile fails if libiconv exists but iconv.h is missing
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 1.2
Hardware: All All
: P2 trivial
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-1.2.14
Depends on:
Blocks:
 
Reported: 2009-03-14 15:18 UTC by fuzzyTew
Modified: 2009-09-21 04:04 UTC (History)
0 users

See Also:


Attachments
patch to change HAVE_ICONV to HAVE_ICONV_H (419 bytes, patch)
2009-03-14 15:18 UTC, fuzzyTew
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fuzzyTew 2009-03-14 15:18:45 UTC
Created attachment 305 [details]
patch to change HAVE_ICONV to HAVE_ICONV_H

There are two separate iconv checks in configure -- one for the header file and one for the library.  include/SDL_stdinc.h uses the library define to see whether or not it should reference the types defined in the header, which naturally breaks if the library exists and the header does not.
Comment 1 Ryan C. Gordon 2009-09-13 16:33:03 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 2 Sam Lantinga 2009-09-21 04:04:52 UTC
This is fixed in subversion, thanks!