On onsdagen den 25 juni 2008, Petr Salinger wrote: > > 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) > > > > Googling around, this seems pretty standard and recommended procedure, > > but apparently it doesn't work on Debian GNU/*BSD. So how should I do? > > It depends on what you really want to test. > The kernel variant (FreeBSD) is signaled by __FreeBSD_kernel__ > and libc variant (glibc) by __GLIBC__. What about OpenBSD? -- Magnus Holmgren email@example.com Debian Developer (Not subscribed to this list)
Description: This is a digitally signed message part.