[Bug 1238] New: - configure returns a false-negative when testing for GNU style IPX support

wine-bugs at winehq.com wine-bugs at winehq.com
Thu Jan 23 10:31:13 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1238

           Summary: configure returns a false-negative when testing for GNU
                    style IPX support
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-net
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: dragon at gentoo.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.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1238>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list