File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ case $host in
187
187
AC_DEFINE ( [ FREEBSD] , [ 1] , [ Define if the operating system is FREEBSD] )
188
188
PLATFORM="kFreeBSD"
189
189
;;
190
+ *-*-dragonfly*)
191
+ echo "Checking platform... Identified as DragonFlyBSD, treating as linux"
192
+ AC_DEFINE ( [ DRAGONFLY] , [ 1] , [ Define if the operating system is DRAGONFLY] )
193
+ PLATFORM="DragonFly"
194
+ ;;
190
195
*-*-gnu*.*)
191
196
echo "Checking platform... Identified as HURD, treating as linux"
192
197
AC_DEFINE ( [ LINUX] , [ 1] , [ Define if the operating system is LINUX] )
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ const std::string& ModSecurity::whoAmI() {
138
138
platform = " MacOSX" ;
139
139
#elif FREEBSD
140
140
platform = " FreeBSD" ;
141
+ #elif DRAGONFLY
142
+ platform = " DragonFlyBSD" ;
141
143
#elif NETBSD
142
144
platform = " NetBSD" ;
143
145
#elif WIN32
You can’t perform that action at this time.
0 commit comments