After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 428399 - configure.in does AC_TRY_RUN on a program which doesn't return a value
configure.in does AC_TRY_RUN on a program which doesn't return a value
Status: RESOLVED DUPLICATE of bug 388789
Product: evolution-data-server
Classification: Platform
Component: general
1.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-04-10 21:10 UTC by Ross Burton
Modified: 2007-04-15 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (363 bytes, patch)
2007-04-10 21:10 UTC, Ross Burton
none Details | Review
Fixed patch (363 bytes, patch)
2007-04-10 21:24 UTC, Ross Burton
none Details | Review

Description Ross Burton 2007-04-10 21:10:35 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.
Comment 1 Ross Burton 2007-04-10 21:10:51 UTC
Created attachment 86133 [details] [review]
Patch
Comment 2 Ross Burton 2007-04-10 21:24:34 UTC
Created attachment 86136 [details] [review]
Fixed patch
Comment 3 Ross Burton 2007-04-10 22:10:21 UTC
I should mention that this was discovered as it was causing configure to fail for Eric Anholt, who I believe was running FreeBSD.
Comment 4 Ross Burton 2007-04-15 14:36:30 UTC

*** This bug has been marked as a duplicate of 388789 ***