hi,

i found out that that (at least) several linuxes ship libbsd, which 
(among other things) have strlcat/strlcpy. it would be preferable to 
pick these up instead of the bundled ones.

i need someone to turn
AC_CHECK_FUNC(strlcat, AC_DEFINE(HAVE_STRLCAT, 1, Check for strlcat))
into something along the lines of

if (strlcat is in libc)
    define HAVE_STRLCAT
else if (strlcat is in libbsd)
    define HAVE_STRLCAT
    define HAVE_LIBBSD
    add -lbsd to LIBS (wutil libs)
else
    just move along

and likewise for strlcpy (or, up to you, we could just assume 
whereever there's strlcat, there's also strlcpy, and only check for 
one of them).

anyone likes a nice challenge? :)

thanks,

-- 
[-]

mkdir /nonexistent


-- 
To unsubscribe, send mail to [email protected].

Reply via email to