Hello all, 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.
The problem is, it seems that no matter how many Configure.in, Makefile.am, or other configuration files I change adding my own module's directory, the squid makefiles are not generated by ./configure --enable-removal-policies="mypolicy" , and consequently my own cache_replacement module is never made (and obivously can't be loaded). Has anyone had success compiling their own replacement strategies in the main squid source tree? If so what am I missing? I've added makefile and library generation tags to pretty much any Configure file I could find, including the top level configure.in, yet no dice on generating my src/repl/mydirectory makefiles. Thanks for your time! Chris --
