commit 556353ec01c525ae505e732cb60117aedf1ea9fd
Author: Jacob Appelbaum <jacob(a)appelbaum.net>
Date: Thu Apr 18 19:58:23 2013 -0700
Begin DragonFly BSD porting effort
---
m4/ax_platform.m4 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/m4/ax_platform.m4 b/m4/ax_platform.m4
index 85418f9..8822b86 100644
--- a/m4/ax_platform.m4
+++ b/m4/ax_platform.m4
@@ -56,6 +56,9 @@
[*openbsd*],
[TARGET_OS_OPENBSD="true"
AC_DEFINE([TARGET_OS_OPENBSD],[1],[Whether we are building for OpenBSD])],
+ [*dragonfly*],
+ [TARGET_OS_DRAGONFLYBSD="true"
+ AC_DEFINE([TARGET_OS_DRAGONFLYBSD],[1],[Whether we are building for DragonFly BSD])],
[*bsd*],
[TARGET_OS_BSD="true"
AC_DEFINE([TARGET_OS_BSD],[1],[Whether we are building for some other *BSD])],
@@ -73,5 +76,6 @@
AM_CONDITIONAL([TARGET_FREEBSD],[test "x${TARGET_OS_FREEBSD}" = "xtrue"])
AM_CONDITIONAL([TARGET_NETBSD],[test "x${TARGET_OS_NETBSD}" = "xtrue"])
AM_CONDITIONAL([TARGET_OPENBSD],[test "x${TARGET_OS_OPENBSD}" = "xtrue"])
+ AM_CONDITIONAL([TARGET_DRAGONFLYBSD],[test "x${TARGET_OS_DRAGONFLYBSD}" = "xtrue"])
AM_CONDITIONAL([TARGET_BSD],[test "x${TARGET_OS_BSD}" = "xtrue"])
])