Re: [squid-users] Need help compiling Custom cache_replacement_policies

From: Henrik Nordstrom <[email protected]>
Date: Sat, 3 Apr 2004 13:50:27 +0200 (CEST)

On Sat, 3 Apr 2004, Chris Sprague wrote:

> I'm a new squid user, and I'm attempting to write my own cache_replacement
> policy. I have it working currently by simple ifdefing in store_repl_lru.c
> file and putting in my own logic. However, I would love to be able to
> create my own source directory within the repl directory, and compile and
> load the module through squid.conf.

1. Create directory.

2. Create a Makefile.am template within it and your source files.

3. Add your Makefile to configure.in.

4. Run bootstrap.sh to have configure and Makefile.in etc regenerated.

Regards
Henrik
Received on Sat Apr 03 2004 - 04:50:31 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT