[PATCH] add 'modules path' and handle 'configure --with-configdir' right

Tim Potter tpot at samba.org
Sat Nov 23 00:24:01 GMT 2002

On Fri, Nov 22, 2002 at 01:21:21PM +0100, Jelmer Vernooij wrote:

> > here's a patch that added the 'modules path' parameter.
> > 
> > lp_modules_path() is prefixed to all lp_modules() witch are not start with 
> > '/' (not absolute pathes)
> > 
> > the default for lp_modules_path() is selectable by ./configure 
> > --with-modulesdir=/modules
> > or $(LIBDIR)/samba  (when  --with-fhs) or $(LIBDIR)
> > 
> > make installmodules install the modules to lp_modules_path()
> > 
> > make modules now makes proto_exist
> Thanks a lot! These were on my todo list.I'll take a look at it later today 
> (when I get back home, I'm currently at school)

There's already a directory for architecture specific library files -
libexec.  We haven't needed to use this so much before so it probably
isn't supported in configure.in.  How about $(LIBEXECDIR)/modules as
a location for the vfs modules?


More information about the samba-technical mailing list