--------------------- PatchSet 2097 Date: 2001/04/26 21:35:32 Author: serassio Branch: cygwin Tag: (none) Log: Added win32.c and support for Windows services Members: configure.in:1.8.2.5->1.8.2.6 src/Makefile.in:1.3.26.3->1.3.26.4 Index: squid/configure.in =================================================================== RCS file: /cvsroot/squid-sf//squid/configure.in,v retrieving revision 1.8.2.5 retrieving revision 1.8.2.6 diff -u -r1.8.2.5 -r1.8.2.6 --- squid/configure.in 19 Apr 2001 19:58:22 -0000 1.8.2.5 +++ squid/configure.in 26 Apr 2001 21:35:32 -0000 1.8.2.6 @@ -3,13 +3,13 @@ dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.8.2.5 2001/04/19 19:58:22 serassio Exp $ +dnl $Id: configure.in,v 1.8.2.6 2001/04/26 21:35:32 serassio Exp $ dnl dnl dnl AC_INIT(src/main.c) AC_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.8.2.5 $)dnl +AC_REVISION($Revision: 1.8.2.6 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AC_CONFIG_AUX_DIR(cfgaux) @@ -31,14 +31,17 @@ cygwin|cygwin32|os2) exec_suffix=".exe" cgi_suffix=".exe" + WIN32_OBJS="win32.o" ;; *) exec_suffix="" cgi_suffix=".cgi" + WIN32_OBJS="" ;; esac AC_SUBST(exec_suffix) AC_SUBST(cgi_suffix) +AC_SUBST(WIN32_OBJS) if test -z "$CACHE_HTTP_PORT"; then CACHE_HTTP_PORT="3128" @@ -724,6 +727,15 @@ fi ]) +dnl Select auth schemes modules to build +AC_ARG_ENABLE(win32-service, +[ --enable-win32-service Compile Squid as a WIN32 Service + Works only on Windows NT and Windows 2000 Platforms.], +[ if test "$enableval" = "yes" ; then + echo "Enabling WIN32 run service mode" + AC_DEFINE(USE_WIN32_SERVICE) + fi +]) dnl Select auth schemes modules to build AC_ARG_ENABLE(auth, Index: squid/src/Makefile.in =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/Makefile.in,v retrieving revision 1.3.26.3 retrieving revision 1.3.26.4 diff -u -r1.3.26.3 -r1.3.26.4 --- squid/src/Makefile.in 24 Apr 2001 16:02:42 -0000 1.3.26.3 +++ squid/src/Makefile.in 26 Apr 2001 21:35:51 -0000 1.3.26.4 @@ -1,7 +1,7 @@ # # Makefile for the Squid Object Cache server # -# $Id: Makefile.in,v 1.3.26.3 2001/04/24 16:02:42 serassio Exp $ +# $Id: Makefile.in,v 1.3.26.4 2001/04/26 21:35:51 serassio Exp $ # # Uncomment and customize the following to suit your needs: # @@ -187,7 +187,7 @@ wais.o \ wccp.o \ whois.o \ - win32.o \ + @WIN32_OBJS@ \ $(XTRA_OBJS) SNMP_OBJS = \