mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Adding DragonFlyBSD support.
This commit is contained in:
parent
afefda53c6
commit
560f81200f
@ -187,6 +187,11 @@ case $host in
|
|||||||
AC_DEFINE([FREEBSD], [1], [Define if the operating system is FREEBSD])
|
AC_DEFINE([FREEBSD], [1], [Define if the operating system is FREEBSD])
|
||||||
PLATFORM="kFreeBSD"
|
PLATFORM="kFreeBSD"
|
||||||
;;
|
;;
|
||||||
|
*-*-dragonfly*)
|
||||||
|
echo "Checking platform... Identified as DragonFlyBSD, treating as linux"
|
||||||
|
AC_DEFINE([DRAGONFLY], [1], [Define if the operating system is DRAGONFLY])
|
||||||
|
PLATFORM="DragonFly"
|
||||||
|
;;
|
||||||
*-*-gnu*.*)
|
*-*-gnu*.*)
|
||||||
echo "Checking platform... Identified as HURD, treating as linux"
|
echo "Checking platform... Identified as HURD, treating as linux"
|
||||||
AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX])
|
AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX])
|
||||||
|
@ -138,6 +138,8 @@ const std::string& ModSecurity::whoAmI() {
|
|||||||
platform = "MacOSX";
|
platform = "MacOSX";
|
||||||
#elif FREEBSD
|
#elif FREEBSD
|
||||||
platform = "FreeBSD";
|
platform = "FreeBSD";
|
||||||
|
#elif DRAGONFLY
|
||||||
|
platform = "DragonFlyBSD";
|
||||||
#elif NETBSD
|
#elif NETBSD
|
||||||
platform = "NetBSD";
|
platform = "NetBSD";
|
||||||
#elif WIN32
|
#elif WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user