GNU/kFreeBSD support in Jam
The system build types in jam are defined by checking the definition of
"linux" and "__FreeBSD__":
# ifdef __FreeBSD__
# define OSMINOR "OS=FREEBSD"
# define OS_FREEBSD
# ifdef linux
# define OSMINOR "OS=LINUX"
# define OS_LINUX
I think someone would add an entry for GLIBC, but there are another Linux
kernel based systems wich don't use GLIBC, so, What could be the best way to
include GNU/kFreeBSD detection in these definitions?
I, as a workaround (to build gargoyle-free) added this to jam.h, without
deleting the Linux entry:
# ifdef __GLIBC__
# define OSMINOR "OS=GLIBC"
# define OS_GLIBC
It isn't very clean, but it works fine for building gargoyle-free