Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let's try and say that freebsd is mmap compatible (and then mc-compatible ?)
authordegomme <degomme@localhost.localdomain>
Tue, 18 Mar 2014 15:16:25 +0000 (16:16 +0100)
committerdegomme <degomme@localhost.localdomain>
Tue, 18 Mar 2014 15:16:25 +0000 (16:16 +0100)
Should be OK with Freebsd 10 .. For the 9, let's see how the continuous integration machine behaves

buildtools/Cmake/CompleteInFiles.cmake

index 1085ffd..30c3a26 100644 (file)
@@ -173,7 +173,7 @@ else()
 endif()
 
 # Our usage of mmap is Linux-specific (flag MAP_ANONYMOUS), but kFreeBSD uses a GNU libc
-IF(NOT "${CMAKE_SYSTEM}" MATCHES "Linux" AND NOT "${CMAKE_SYSTEM}" MATCHES "kFreeBSD" AND NOT "${CMAKE_SYSTEM}" MATCHES "GNU" AND NOT  "${CMAKE_SYSTEM}" MATCHES "Darwin")
+IF(NOT "${CMAKE_SYSTEM}" MATCHES "Linux" AND NOT "${CMAKE_SYSTEM}" MATCHES "FreeBSD" AND NOT "${CMAKE_SYSTEM}" MATCHES "GNU" AND NOT  "${CMAKE_SYSTEM}" MATCHES "Darwin")
   SET(HAVE_MMAP 0)
   message(STATUS "Warning: MMAP is thought as non functional on this architecture (${CMAKE_SYSTEM})")
 ENDIF()