Some local electrons alleged that Albert Chin-A-Young 
<[EMAIL PROTECTED]> said:
<...lots snipped...>
> 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.
> 
LyX already has something for that: it is called LYX_CHECK_DECL (if you want to search 
just one header) or LYX_CHECK_DECL_HDRS (if you want to try more than one header). 
These were stolen my me from word2x and then enhanced a bit :-) In fact configure.in 
uses LYX_CHECK_DECL_HDRS to find out if mkstemp is declared in unistd.h or stdlib.h 
already.

Why is evertone so keen or re-inventing the wheel given an already avaialable high 
quality one? Am I missing something?
-- 
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."


Reply via email to