summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac5
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ad31bc4d..7cb9bc9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,8 @@ Version 3.18.1 (rgerhards), 2008-07-??
where it was needed. This resulted in rsyslog using the default
(20 minutes) in some code pathes, what looked to the user like mark
messages were never written.
+- bugfix: imklog module was not correctly compiled for GNU/kFreeBSD.
+ Thanks to Petr Salinger for the patch
- doc bugfix: fixed some typos in rsyslog.conf man page
- fixed typo in source comment - thanks to Rio Fujita
---------------------------------------------------------------------------
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])