On FreeBSD the compiler defines by default __FreeBSD__. Defining __freebsd__ separately in configure is redundant and bad style. If you need to know the OS version, include <sys/param.h> to find it defined like this... #define __FreeBSD_version 601101 That is major == 6, minor == 1, and some patch stuff which should never be a problem to applications, because the API and ABI remain the same. Change the #ifdef and #if defined in the code to refer __FreeBSD__ and forget about the redundant definition in the configure phase.
|Server OS:||FreeBSD 6.1-STABLE|