OSDN Git Service

configure: use same CPPFLAGS in kFreeBSD as Linux
authorReinhard Tartler <siretart@tauware.de>
Sat, 14 May 2011 14:10:30 +0000 (16:10 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sun, 15 May 2011 08:33:52 +0000 (10:33 +0200)
commitc1f54478050279663217fe5ffa4bc90f60e7030d
tree290011316f3e73eaf539077db99c0e4134c349a6
parent888fa31ecafa75cef3c154e129c45060eea88bd7
configure: use same CPPFLAGS in kFreeBSD as Linux

046f081b46c8479820409cf8f530b988221bd15b reorganized the CPPFLAGS to no
longer add -D_POSIX_C_SOURCE unconditionally, but only on systems (e.g.,
glibc based ones) that require it.  As kFreeBSD uses glibc, it needs to
be treated similar.

Additionally, _BSD_SOURCE is turned on to enable some additional types
such as caddr_t, which are normally enabled on BSD but not with glibc.
configure