summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPetr Salinger <Petr.Salinger@seznam.cz>2008-07-18 10:00:13 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-07-18 10:00:13 +0200
commit88e9b2d0f30a5c5fc3ce4c25f10f8947f93b6f7b (patch)
treed7505d2dbc7049abf200670f135c993f65e6a212 /configure.ac
parentc70fd89dd810665f4143fa7006c0237bf4410a8a (diff)
downloadrsyslog-88e9b2d0f30a5c5fc3ce4c25f10f8947f93b6f7b.tar.gz
rsyslog-88e9b2d0f30a5c5fc3ce4c25f10f8947f93b6f7b.tar.xz
rsyslog-88e9b2d0f30a5c5fc3ce4c25f10f8947f93b6f7b.zip
bugfix: imklog module was not correctly compiled for GNU/kFreeBSD
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a2f5172d..85d0b260 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,11 @@ case "${host}" in
AC_DEFINE([OS_BSD], [1], [Indicator for a BSD OS])
os_type="bsd"
;;
+ *-*-kfreebsd*)
+ # kernel is FreeBSD, but userspace is glibc - i.e. like linux
+ # do not DEFINE OS_BSD
+ os_type="bsd"
+ ;;
esac
AC_DEFINE_UNQUOTED([HOSTENV], "$host", [the host environment, can be queried via a system variable])