http://bugs.winehq.com/show_bug.cgi?id=1921
Summary: [wine-20031212] configure incorrectly detects gethostbyname_r Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-ports AssignedTo: wine-bugs@winehq.com ReportedBy: wiml@hhhh.org
On OpenBSD 3.4, the 'configure' script incorrectly "detects" the existence of gethostbyname_r although this function doesn't exist on OBSD. This eventually causes the build to fail.
My guess is that the check should be done using AC_TRY_LINK (or even AC_TRY_RUN?) instead of AC_TRY_COMPILE, at configure.ac line 1256.