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.
CFLAGS: -D__freebsd__
Motion version: | 3.2.6 |
ffmpeg version: | |
Shared libraries: | postgresql |
Server OS: | FreeBSD 6.1-STABLE |
TopicTitle | configure defines a redundant freebsd for motion on FreeBSD |
BugStatus | Released |
AssignedBugTo | AngelCarpintero |
SubmittedBy | TWikiGuest |