29 lines
873 B
Diff
29 lines
873 B
Diff
|
From 13c505e30474c919ed9ae552e459769c456da21e Mon Sep 17 00:00:00 2001
|
||
|
From: Frank Vanbever <frank.vanbever@essensium.com>
|
||
|
Date: Fri, 10 Jan 2020 11:24:43 +0100
|
||
|
Subject: [PATCH] test for uClinux in configure script
|
||
|
|
||
|
Upstream: https://github.com/SpiderLabs/ModSecurity/pull/2235
|
||
|
|
||
|
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
|
||
|
---
|
||
|
configure.ac | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/configure.ac b/configure.ac
|
||
|
index 5e6971f4..51d38071 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -156,7 +156,7 @@ case $host in
|
||
|
AC_DEFINE([MACOSX], [1], [Define if the operating system is Macintosh OSX])
|
||
|
PLATFORM="MacOSX"
|
||
|
;;
|
||
|
- *-*-linux*)
|
||
|
+ *-*-linux* | *-*uclinux*)
|
||
|
echo "Checking platform... Identified as Linux"
|
||
|
AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX])
|
||
|
PLATFORM="Linux"
|
||
|
--
|
||
|
2.20.1
|
||
|
|