0002-test-for-uClinux-in-configure-script.patch 873 B

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