Re: Bug#686103: libetpan: FTBFS on hurd-i386
On 28/08/12 18:20, Svante Signell wrote:
> On Tue, 2012-08-28 at 18:14 +0200, Samuel Thibault wrote:
>> Svante Signell, le Tue 28 Aug 2012 17:55:07 +0200, a écrit :
>>> --- a/libetpan-config.h.in 2008-05-23 00:39:44.000000000 +0200
>>> +++ b/libetpan-config.h.in 2012-08-28 17:36:00.000000000 +0200
>>> @@ -15,6 +15,9 @@
>>> #ifdef HAVE_LIMITS_H
>>> @include <limits.h>
>>> #endif
>>> +#ifndef PATH_MAX
>>> +@define PATH_MAX 4096
>>
>> Typo here.
>
> No, @ is expanded to # when libetpan-config.h is created:
> cat ./libetpan-config.h.in | i486-gnu-gcc -E -I. - \
> | sed -e '/^#/d;/^[ \t]*$/d;s/^@/#/' > libetpan-config.h
AFAICS, this would require to have '@'s in all added lines, since all
system includes are avoided by using the '@'. You would then end up
with redefining PATH_MAX even on platforms where PATH_MAX is defined via
the skipped limits.h:
@ifndef PATH_MAX
@define PATH_MAX 4096
@endif
Greetings from Oldenburg,
Philipp
Reply to: