[Bug 1238] configure returns a false-negative when testing for GNU style IPX support
Wine Bugs
wine-bugs at winehq.com
Mon Jun 23 12:57:17 CDT 2003
http://bugs.winehq.com/show_bug.cgi?id=1238
------- Additional Comments From winebug at flonet.net 2003-23-06 12:57 -------
Bug comments restored from Gmane.org:
I'm using wine cvs sources as of 20030115 and am running on a
linux-2.4/glibc-2.3 based system.
When I tried to configure wine recently, I was interested in having IPX
support. However, configure was returning a negative result when it checked for
the necessary headers. After confirming that both netipx/ipx.h and linux/ipx.h
were present, I examined the autoconf macro more closely. It was then I
discovered that it was omitting a necessary header for IPX support on linux
systems: sys/socket.h. This is because the header is guarded by a test against
the existance of sys/socket.h.
The problem with the current wine configure.ac is that
AC_CHECK_HEADERS([sys/socket.h]) is placed *after* the check for IPX support.
This is most unfortunate and will result in false negatives previously
described.
The solution is to place AC_CHECK_HEADERS([sys/socket.h]) right after
AC_CHECK_LIB(mmap,mmap). This ensures that it will be properly defined in the
later test macros.
------- Additional Comments From marcus <at> jet.franken.de 2003-01-27 01:14
-------
fixed in CVS.
------- Additional Comments From tony_lambregts <at> telusplanet.net 2003-02-19
22:13 -------
Closing
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list