libxtrans compilation broken on GNU/Linux
Matthieu Herrb
matthieu.herrb at laas.fr
Tue Sep 11 02:36:21 PDT 2007
Julien Cristau wrote:
> On Tue, Sep 11, 2007 at 00:38:05 +0200, Dodji Seketeli wrote:
>
>> diff --git a/configure.ac b/configure.ac
>> index 0025ecc..24b12df 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -186,6 +186,7 @@ AC_CHECK_FUNC([getpeerucred],
>> AC_DEFINE(HAS_GETPEERUCRED, 1, [Have the 'getpeerucred' function.]))
>> AC_CHECK_FUNC([strlcat], HAVE_STRLCAT=yes, HAVE_STRLCAT=no)
>> AM_CONDITIONAL(NEED_STRLCAT, [test x$HAVE_STRLCAT = xno])
>> +AC_CHECK_FUNC([strlcpy], AC_DEFINE(HAS_STRLCPY, 1, [Have the 'strlcpy' function]))
>>
>> AM_CONDITIONAL(NEED_VSNPRINTF, [test x$HAVE_VSNPRINTF = xno])
>>
> Hi,
>
> don't you need to put '#undef HAS_STRLCPY' or something in
> include/dix-config.h.in?
autoheader will do that for us. (provided that the HAS/HAVE ambiguity
gets fixed too).
--
Matthieu Herrb
More information about the xorg
mailing list