On Tue, Oct 20, 2009 at 2:58 PM, Peter Harris <[email protected]> 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 _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
