Skip to contentSkip to conversation

Probe via #define check for FreeBSD, NetBSD and DragonFly BSD

PATCH New Wei Liu 1 participant 1 message Mar 20, 2015

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 Probe via #define check for FreeBSD, NetBSD and DragonFly BSD

---
 configure | 6 ++++++
 1 file changed, 6 insertions(+)
configure +6 -0
index 589798e..ceacd81 100755
@@ -441,6 +441,12 @@ elif check_define _WIN32 ; then
   targetos='MINGW32'
 elif check_define __OpenBSD__ ; then
   targetos='OpenBSD'
+elif check_define __FreeBSD__ ; then
+  targetos='FreeBSD'
+elif check_define __DragonFly__ ; then
+  targetos='DragonFly'
+elif check_define __NetBSD__ ; then
+  targetos='NetBSD'
 elif check_define __sun__ ; then
   targetos='SunOS'
 elif check_define __HAIKU__ ; then
Signature · 1 line
1.9.1