URL:
  <http://gna.org/patch/?6837>

                 Summary: winsock2.h configure check to work on MSYS2
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 22 Jan 2016 03:40:24 PM EET
                Category: bootstrap
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0, 3.0.0

    _______________________________________________________

Details:

I've already sent email to autoconf people asking about the below issue if
there's any official support for a case like it, but meanwhile I'm testing
things down the road with attached patch allowing me to get correct results
from configure.

In msys2 winsock2.h can't be included after unistd.h, only before (unistd.h
does handle things correctly if it sees macros set by winsock2.h). Many
autoconf macros use tests where standard set of headers are included before
anything by configure.ac author. Together these mean that msys2 winsock2.h
can't be used in these tests, as they would then always fail.

Attached patch makes our winsock2.h test to directly prepend winsock2.h
include to the autoconf's internal list.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 22 Jan 2016 03:40:24 PM EET  Name: WinsockM4.patch  Size: 2kB   By:
cazfi

<http://gna.org/patch/download.php?file_id=26415>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?6837>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to