On Thu, Feb 01, 2001 at 02:54:25PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Bruce" == Bruce Foster <[EMAIL PROTECTED]> writes:
> 
> Bruce> If the operating system is hp-ux, then they do it. If you want
> Bruce> to be specific to HPUX 10.20, then configure shows my host
> Bruce> system type to be hppa1.1-hp-hpux10.20
> 
> The autoconf way of doing things is rather to look at functionality,
> not versions. I'll see what I can do, unless albert beats me to it :)

Not all packages use their own vsnprintf() regardless of whether or
not the system has one. Lftp certainly does not. And, I don't think
Samba does either. Anyway, on HP-UX 10.20, patch PHCO_20441 (or
possibly one of its predecessors) gives you the vsnprintf function in
libc. Unfortunately, no header definition. So, this requires two
separate vsnprintf checks:
  1. Test if the function exists
  2. Test if the declaration for the function exists

I'm working on this now (just stealing how lftp does it). I should
have a patch soon.

-- 
albert chin ([EMAIL PROTECTED])

Reply via email to