[PATCH] rlm_caching module configure.in
Nathaniel McCallum
nathaniel at haikulogic.com
Tue Jun 1 15:46:15 CEST 2010
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rlm_caching.patch
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20100601/c1f3d4b5/attachment.ksh>
More information about the Freeradius-Devel
mailing list