--------------------- PatchSet 3759 Date: 2006/09/14 20:07:58 Author: serassio Branch: nt Tag: (none) Log: Update make check support for MinGW Members: src/Makefile.am:1.26.2.95->1.26.2.96 src/tests/stub_comm.cc:1.1.2.5->1.1.2.6 src/tests/stub_tools.cc:1.1.2.3->1.1.2.4 Index: squid3/src/Makefile.am =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Makefile.am,v retrieving revision 1.26.2.95 retrieving revision 1.26.2.96 diff -u -r1.26.2.95 -r1.26.2.96 --- squid3/src/Makefile.am 14 Sep 2006 12:46:28 -0000 1.26.2.95 +++ squid3/src/Makefile.am 14 Sep 2006 20:07:58 -0000 1.26.2.96 @@ -1,7 +1,7 @@ # # Makefile for the Squid Object Cache server # -# $Id: Makefile.am,v 1.26.2.95 2006/09/14 12:46:28 serassio Exp $ +# $Id: Makefile.am,v 1.26.2.96 2006/09/14 20:07:58 serassio Exp $ # # Uncomment and customize the following to suit your needs: # @@ -2149,6 +2149,7 @@ $(DISKIO_SOURCE) SWAP_TEST_LDADD = \ + libsquid.la \ libauth.la \ DiskIO/Blocking/BlockingDiskIOModule.o \ repl/lru/store_repl_lru.o \ Index: squid3/src/tests/stub_comm.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/tests/stub_comm.cc,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -r1.1.2.5 -r1.1.2.6 --- squid3/src/tests/stub_comm.cc 13 Sep 2006 21:51:30 -0000 1.1.2.5 +++ squid3/src/tests/stub_comm.cc 14 Sep 2006 20:07:59 -0000 1.1.2.6 @@ -1,5 +1,5 @@ /* - * $Id: stub_comm.cc,v 1.1.2.5 2006/09/13 21:51:30 serassio Exp $ + * $Id: stub_comm.cc,v 1.1.2.6 2006/09/14 20:07:59 serassio Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Robert Collins @@ -131,6 +131,7 @@ RESERVED_FD = XMIN(100, Squid_MaxFD / 4); } +/* MinGW needs also a stub of _comm_close() */ void _comm_close(int fd, char const *file, int line) { Index: squid3/src/tests/stub_tools.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/tests/stub_tools.cc,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- squid3/src/tests/stub_tools.cc 13 Sep 2006 21:51:31 -0000 1.1.2.3 +++ squid3/src/tests/stub_tools.cc 14 Sep 2006 20:07:59 -0000 1.1.2.4 @@ -1,5 +1,5 @@ /* - * $Id: stub_tools.cc,v 1.1.2.3 2006/09/13 21:51:31 serassio Exp $ + * $Id: stub_tools.cc,v 1.1.2.4 2006/09/14 20:07:59 serassio Exp $ * * AUTHOR: Robert Collins * @@ -39,7 +39,9 @@ return b ? ((int) (100.0 * a / b + 0.5)) : 0; } +/* MinGW needs also a stub of death() */ void death(int sig) { + fatal ("Not implemented"); }