[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: BSD >= 199306



(oops I forgot to CC the Debian list just for information purposes)

> Hi all. I maintain a package (prayer) that doesn't use autotools and
> instead detects BSD with:
> 
> #include <sys/param.h>
> #if (defined(BSD) && BSD >= 199306)

This code actually has its origin in section 12.4 of FreeBSD's Porters Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-versions.html

For kernel features it might be OK, but this was not really meant for dealing with libc's other than the base BSD libc.

Pedro.



      Hai un indirizzo email difficile da ricordare?
Scegli quello che hai sempre desiderato su Yahoo! Mail
http://it.docs.yahoo.com/nuovo_indirizzo.html


Reply to: