dnl
dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
dnl
-dnl $Id: configure.in,v 1.336 2003/07/06 14:56:12 hno Exp $
+dnl $Id: configure.in,v 1.337 2003/07/14 15:07:20 robertc Exp $
dnl
dnl
dnl
AC_CONFIG_AUX_DIR(cfgaux)
AM_INIT_AUTOMAKE(squid, 3.0.DEVEL-CVS)
AM_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.336 $)dnl
+AC_REVISION($Revision: 1.337 $)dnl
AC_PREFIX_DEFAULT(/usr/local/squid)
AM_MAINTAINER_MODE
AC_DEFINE(ESI,1,[Compile the ESI processor and Surrogate header support])
AM_CONDITIONAL(USE_ESI, true)
XTRA_LIBS="$XTRA_LIBS -lexpat"
+else
+ AC_DEFINE(ESI,0,[Compile the ESI processor and Surrogate header support])
fi
dnl This is a developer only option. Developers know how to set defines
/*
- * $Id: client_side_request.cc,v 1.27 2003/07/11 01:40:36 robertc Exp $
+ * $Id: client_side_request.cc,v 1.28 2003/07/14 15:07:21 robertc Exp $
*
* DEBUG: section 85 Client-side Request Routines
* AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
request_t *request = http->request;
const HttpHeader *req_hdr = &request->header;
int no_cache = 0;
-#if !defined(ESI) || defined(USE_USERAGENT_LOG) || defined(USE_REFERER_LOG)
+#if !(ESI) || defined(USE_USERAGENT_LOG) || defined(USE_REFERER_LOG)
const char *str;
#endif
#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.am,v 1.14 2003/07/14 14:16:12 robertc Exp $
+# $Id: Makefile.am,v 1.15 2003/07/14 15:07:22 robertc Exp $
#
AUTOMAKE_OPTIONS = subdir-objects
EXTRA_PROGRAMS = mem_node_test membanger splay tcp-banger2 rfc1738
+ESI_ALL_TESTS = \
+ ESIExpressions
+
+if USE_ESI
+ ESI_TESTS = $(ESI_ALL_TESTS)
+else
+ ESI_TESTS =
+endif
+
## Sort by dependencies - test lowest layers first
TESTS = debug \
syntheticoperators \
mem_node_test\
mem_hdr_test\
http_range_test \
- ESIExpressions
+ $(ESI_TESTS)
## Sort by alpha - any build failures are significant.
check_PROGRAMS= debug \
- ESIExpressions \
+ $(ESI_TESTS) \
http_range_test \
MemPoolTest\
mem_node_test\