More weird stuff

The Doctor doctor at doctor.nl2k.ab.ca
Wed Jan 28 12:17:42 UTC 2009


On Wed, Jan 28, 2009 at 08:17:48AM +0100, Julien ÉLIE wrote:
> Hi Russ,
>
>> We should avoid tests for specific hosts and instead use the Autoconf
>> probe for whether a function is declated.  That will mean changing the
>> conditional to look like the one for snprintf in the header, but leaving
>> the same conditional in the library code to determine whether the function
>> is built.
>
> OK.
> As for setproctitle, we will need another variable because HAVE_SETPROCTITLE
> should be 0 for the first occurrence and 1 for the second on BSD/OS.
> Otherwise, there are compilation errors.
> (Maybe HAVE_SETPROCTITLE_INIT?)
>
> The code is in include/portable/setproctitle.h:
>
> #if !HAVE_SETPROCTITLE
> void setproctitle(const char *format, ...);
> #endif
>
> #if HAVE_SETPROCTITLE || HAVE_PSTAT
> # define setproctitle_init(argc, argv)   /* empty */
> #else
> void setproctitle_init(int argc, char *argv[]);
> #endif
>
>
>>> -     AC_CHECK_HEADERS([sys/vfs.h sys/param.h sys/mount.h])])
>>> +     AC_CHECK_HEADERS([sys/vfs.h sys/mount.h])
>>> +     AC_CHECK_HEADERS(sys/mount.h, [], [],
>>
>> I think you meant to leave sys/param.h in the initial check line, right?
>
> Sure!  Thanks.
>
> -- 
> Julien ÉLIE
>

One moment.

first we should check if we have a wide variety of testing platforms.

I offer Julien the BSD/OS to see if there are
any BSD issues.

Are there any other platforms we should be looking at?

> « Gloria uictis. » (Tite-Live)
>
> _______________________________________________
> inn-workers mailing list
> inn-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/inn-workers
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
Member - Liberal International	
This is doctor at nl2k.ab.ca	Ici doctor at nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising! 
Birthdate: 29 Jan 1969 Redhill Surrey England

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the inn-workers mailing list