]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Allow COSS to be built in trunk, but with a configure time warning until ready
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Thu, 27 Aug 2009 15:51:38 +0000 (17:51 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Thu, 27 Aug 2009 15:51:38 +0000 (17:51 +0200)
configure.in
src/fs/coss/StoreFScoss.cc
src/fs/coss/store_dir_coss.cc

index 1fbd66d2af535733542b8fca661e28121778d6ce..2bd0d901bf5d4ffe05bae7e295654f29eee724dc 100644 (file)
@@ -473,6 +473,12 @@ if test -n "$STORE_MODULES"; then
            AC_MSG_ERROR(storeio $module does not exist)
        fi
     done
+    for module in $STORE_MODULES_FULL; do
+       if test "$module" = "coss"; then
+           echo "WARNING: COSS Support is not stable yet in Squid-3. Please do not use."
+           sleep 10;
+       fi
+    done
     AC_MSG_NOTICE([Store modules built: $STORE_MODULES])
 fi
 dnl remove all but diskd - its the only module that needs to recurse
index 9b013a81fdf14c132fe75fd159813f8f657efa0d..fed69cb180bc1a53f8767f94b463c5b8fcd3b4b0 100644 (file)
@@ -1,4 +1,3 @@
-#error COSS Support is not stable yet in Squid-3. Please do not use.
 /*
  * $Id$
  *
index 615b993f5c2d251d6d9b29637f6794ac55ed8382..0be41406c835153647162f640eb41a5967b6dd0b 100644 (file)
@@ -1,4 +1,3 @@
-#error COSS Support is not stable yet in Squid-3. Please do not use.
 /*
  * $Id$
  * vim: set et :
@@ -49,6 +48,7 @@
 #include "ConfigOption.h"
 #include "StoreFScoss.h"
 #include "Parsing.h"
+#include "swap_log_op.h"
 
 #define STORE_META_BUFSZ 4096