]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
--disable-http-violations
authorwessels <>
Fri, 21 Aug 1998 09:48:43 +0000 (09:48 +0000)
committerwessels <>
Fri, 21 Aug 1998 09:48:43 +0000 (09:48 +0000)
configure.in

index 4a6e73f1c71787e1829be489f04c9cbb5ecf24ae..5c24cdb5d3b9e2e58e7850bca25418ad371acc0c 100644 (file)
@@ -3,13 +3,13 @@ dnl  Configuration input file for Squid
 dnl
 dnl  Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
 dnl
-dnl  $Id: configure.in,v 1.143 1998/08/18 19:19:46 wessels Exp $
+dnl  $Id: configure.in,v 1.144 1998/08/21 03:48:43 wessels Exp $
 dnl
 dnl
 dnl
 AC_INIT(src/main.c)
 AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.143 $)dnl
+AC_REVISION($Revision: 1.144 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AC_CONFIG_AUX_DIR(cfgaux)
 
@@ -411,6 +411,20 @@ AC_ARG_ENABLE(poll,
   fi
 ])
 
+dnl Disable HTTP violations
+AC_ARG_ENABLE(http-violations,
+[  --disable-http-violations
+                          This allows you to remove code which is known to
+                          violate the HTTP protocol specification.
+],
+[ if test "$enableval" = "no" ; then
+    echo "Disabling HTTP Violations"
+    AC_DEFINE(HTTP_VIOLATIONS, 0);
+  else
+    AC_DEFINE(HTTP_VIOLATIONS, 1);
+  fi
+])
+
 # Force some compilers to use ANSI features
 #
 case "$host" in