On 8/7/2012 17:48, Corinna Vinschen wrote: > Hi, > > the below patch simplifies building a w32api package (Hi Jon!) for > Cygwin. I added a --enable-cygwin option to the mingw-w64-headers > and mingw-w64-crt configure.ac file and tweaked the Makefile.am > files accordingly. > > The result is as desired for a Cygwin w32api package: > > - In mingw-w64-headers/configure.ac --enable-cygwin implies --disable-crt, > so only the desired header files are installed. > > - In mingw-w64-headers/Makefile.am the installation path for the headers is > set to $(prefix)/include/w32api. > > - In mingw-w64-crt/configure.ac --enable-cygwin implies --disable-startup, > so the startup files won't be installed. The installation path for the > 32 bit libs is set to $(prefix)/lib/w32api, the installation path for > the 64 bit libs to $(prefix)/lib64/w32api. > > - In mingw-w64-crt/Makefile.am the Mingw-specific libs won't be installed > and the installation path for the libsrc source files is set to > $(prefix)/include/w32api. > > Additionally I set AC_PREREQ to 2.68, rather than 2.69. 2.69 is not > really required, and it disallows to autoconf on Fedora 17. > > Jon_Y, with this patch, you can build the entire w32api package in a > single run: > > configure --host=x86_64-w64-mingw32 --prefix=/usr --enable-cygwin > > I hope the patch is basically ok.
Looks OK to me. NS, any comments?
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
