----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.org>
Sent: Sunday, May 13, 2001 11:50 AM
Subject: Re: [PATCH] Guido Serassio's nt local authenticator
> Sure it is somewhat of a problem already, but OpenLDAP and PAM are
both
> freely available and common part of most distributions today, so a
> fairly big share of the Squid users does not have to care installing
> these first..
>
> PAM probably isn't available for cygwin thou..
Dunno :] Cygwin is redhat too. I don't believe it's been ported though.
> What I want comments on is mostly how to manage it.
>
> One idea I have is to have some kind of test script in each helper,
> telling if it should be built by "default".
>
> What kind of magic can be done in combination with automake? I guess
> automake gives some restrictions in make recursion?
1) Well the easiest way is to make the helpers have their own configure
script. This isn't as bad as it seems: their configure scripts will be
_very very small_. (How many dependencies does a pam auth helper have?).
This would allow a couple of neat things: The helpers could use higher O
levels by default, as I don't think we've seen a broken helper yet :].
Also any helper-related config tests in the main configure script could
go away.
2) We can do platform-exludes in configure.in and turn off helpers that
aren't supported on certain platforms, or are missing dependencies. I.E.
test for OpenLDAP and disable the ldap helper (if it was requested, and
given a warning naturally). Likewise we can test for cygwin/win32 and
disable the NT-only helpers.
I don't think automake is really suited for this: It's a portability
problem, not a "how do a craft a good makefile" problem.
Rob
> --
> Henrik
>
> Robert Collins wrote:
>
> > > Il 18.11 06/05/2001 Henrik Nordstrom ha scritto:
> > > >I am holding this off a little to figure out how to deal with
> > platform
> > > >specific helpers.. Currently we have a shortcut in configure to
build
> > > >all auth helpers, and adding a platform specific one would break
> > this.
> > > >
> > > >Comments are welcome.
> > > >
> > > >--
> > > >Henrik
> > >
> >
> > Thinking about this Henrik, not all modules will build on all
platforms
> > now: don't you need openLDAP for some, PAM for others? This is no
> > different... With WINE you can probably build it on un*x even :]
> >
> > Rob
>
Received on Sun May 13 2001 - 01:41:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:01 MST