Tinderbox regression: xlsclients

Dan Nicholson dbn.lists at gmail.com
Tue Oct 20 15:29:08 PDT 2009


On Tue, Oct 20, 2009 at 2:58 PM, Peter Harris <pharris at opentext.com> wrote:
> Jeremy Huddleston wrote:
>> And if strnlen isn't available? ...
>
> I must have misread the docs. I thought autoconf was supposed to
> generate strnlen when it isn't available.
>
> Could somebody with better knowledge of auto* than I have please take a
> look at this?

http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fFUNC_005fSTRNLEN-484

What AC_FUNC_STRNLEN does is use AC_LIBOBJ(strnlen) if the system
doesn't have it. What this does is look for a file strnlen.c providing
a portable implementation (among other things). So, you have to
provide another implementation or some equivalent compatibility hack.

Looks like Julien did the right thing.

--
Dan


More information about the xorg-devel mailing list