GNOME Bugzilla – Bug 428399
configure.in does AC_TRY_RUN on a program which doesn't return a value
Last modified: 2007-04-15 14:36:30 UTC
The iconv check in configure.in doesn't explicitly return a value, and relies on luck to work. This is the check: int main (int argc, char **argv) { iconv_t cd; cd = iconv_open ("UTF-8", "ISO-8859-1"); } I believe the test is meant to be that iconv_open returns a valid iconv_t. Attaching a patch.
Created attachment 86133 [details] [review] Patch
Created attachment 86136 [details] [review] Fixed patch
I should mention that this was discovered as it was causing configure to fail for Eric Anholt, who I believe was running FreeBSD.
*** This bug has been marked as a duplicate of 388789 ***