anonymous 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.
in that specific case i would prefer to use __FreeBSD__ ifdef instead of
a configure stage.
But for -lpthread and -pthread ..i will probably use a configure stage.
because its something freebsd-specific for linking.
--pancake