Commit 7ca2f406 authored by Nils Goroll's avatar Nils Goroll

whitespace

parent 5602713f
......@@ -7,16 +7,16 @@ server s1 {
txresp
} -start
varnish v1 -vcl+backend {
varnish v1 -vcl+backend {
import dcs from "${vmod_topbuild}/src/.libs/libvmod_dcs.so";
sub vcl_recv {
# this code will classify
# this code will classify
#
# for best performance in production, only call classify
# once or use inline-C to save the return value of
# classify (int)
# exotic use cases
set req.http.xx-entry-key = dcs.entry_key(dcs.classify());
set req.http.xx-type-id = dcs.type_id(dcs.classify());
......@@ -52,4 +52,3 @@ client c1 {
expect resp.http.x-nb-classified == "Mobile Phone"
expect resp.http.X-DeviceClass == "smartphone"
} -run
......@@ -118,7 +118,8 @@ if test "x$VARNISHSRC" = x; then
AM_CONDITIONAL([BUILD_VMOD], [true])
AC_SUBST([VCCFILE], [vmod_dcs4.vcc])
AC_DEFINE([VARNISH_MAJOR], [4], [Define the Varnish major version we compile against])
AC_DEFINE([VARNISH_MAJOR], [4],
[Define the Varnish major version we compile against])
AC_SUBST([TESTDIR], [tests4])
else
AM_CONDITIONAL([HAVE_VARNISH_M4], [false])
......@@ -263,20 +264,20 @@ DEVELOPER_CLANG_CFLAGS="-Wmissing-variable-declarations -Wno-string-plus-int"
# --enable-developer-warnings
AC_ARG_ENABLE(developer-warnings,
AS_HELP_STRING([--enable-developer-warnings],[enable strict warnings (default is NO)]),
[],
[enable_developer_warnings=no])
AS_HELP_STRING([--enable-developer-warnings],[enable strict warnings (default is NO)]),
[],
[enable_developer_warnings=no])
#DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} ${DEVELOPER_CLANG_CFLAGS}"
if test "x$enable_developer_warnings" != "xno"; then
CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}"
OCFLAGS="${OCFLAGS} ${DEVELOPER_CFLAGS}"
CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}"
OCFLAGS="${OCFLAGS} ${DEVELOPER_CFLAGS}"
fi
# --enable-debugging-symbols
AC_ARG_ENABLE(debugging-symbols,
AS_HELP_STRING([--enable-debugging-symbols],[enable debugging symbols (default is NO)]),
CFLAGS="${CFLAGS} -O0 -g -fno-inline")
AS_HELP_STRING([--enable-debugging-symbols],[enable debugging symbols (default is NO)]),
CFLAGS="${CFLAGS} -O0 -g -fno-inline")
AC_SUBST(AM_LT_LDFLAGS)
......@@ -284,7 +285,7 @@ AC_SUBST(AM_LT_LDFLAGS)
## VARNISH whether to install Varnish inline-c sources
AC_ARG_ENABLE(varnish2,
AS_HELP_STRING([--enable-varnish2],[install code for varnish2 inline-C (default is NO)]))
AS_HELP_STRING([--enable-varnish2],[install code for varnish2 inline-C (default is NO)]))
AM_CONDITIONAL([INSTALL_VARNISH2], [test "x$enable_varnish2" != x])
############################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment