On 06/01/2010 09:46 AM, Nathaniel McCallum wrote:
On 05/31/2010 09:08 PM, Nathaniel McCallum wrote:
It appears that although the rlm_caching module was merged, its configure.in was never merged. I've attached a patch which creates a basic configure.in for the module.
--- /dev/null +++ b/src/modules/rlm_caching/configure.in @@ -0,0 +1,18 @@ +AC_PREREQ([2.53]) +AC_INIT(rlm_caching.c) +AC_REVISION($Revision$) +AC_DEFUN(modname,[rlm_caching]) + +if test x$with_[]modname != xno && test ; then + AC_CHECK_HEADERS(gdbm.h) + targetname=modname + caching_ldflags=-lgdbm +else + targetname= + echo \*\*\* module modname is disabled. +fi + +AC_SUBST(caching_ldflags) +AC_SUBST(caching_cflags) +AC_SUBST(targetname) +AC_OUTPUT(Makefile) --- a/src/modules/rlm_caching/rlm_caching.c +++ b/src/modules/rlm_caching/rlm_caching.c @@ -30,8 +30,6 @@ RCSID("$Id$")
#include <ctype.h>
-#include "config.h" - #include <gdbm.h> #include <time.h>
Ok, the last patch was a joke. :) Here's the real one...
Nathaniel
Any chance this can be reviewed/merged? Nathaniel