On 1 February 2010 13:06, anonymous <aim0s...@lavabit.com> wrote:
>> Having said that, in case of rfork vice versa from FreeBSD.
>
> Yes, I am talking about FreeBSD. With configure you can make your
> program portable between FreeBSD and Linux. Most probably other
> systems won't implement clone/rfork their own way so program will be
> portable between all systems with some kind of rfork implementation.

Well in such a case you might want to provide an abstraction like
implementing pclone() and that is implemented as rfork on FreeBSD and
clone on Linux and then you provide two Makefiles or config.mk's for
inclusion, one building pclone() using rfork that is being used on
FreeBSD and the other one building it using clone() on Linux.

I can't see why you'd want configure or something similar for such
kind of stuff.

Cheers,
Anselm

Reply via email to