[evolution-data-server] ENABLE_DOT_LOCKING not properly propagated into config.h



commit 50db62fe90150213e77cce96c4b3552582c50fd8
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 19 15:32:19 2016 +0200

    ENABLE_DOT_LOCKING not properly propagated into config.h
    
    This resulted in a "Could not lock" error for spool files, due to using
    dot locking even though it had been disabled in the configure time.

 CMakeLists.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2c4778b..8dd5e5e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -717,7 +717,7 @@ if(WIN32 AND ENABLE_DOT_LOCKING)
        set(ENABLE_DOT_LOCKING OFF)
        set(USE_DOT_LOCKING OFF)
 else(WIN32 AND ENABLE_DOT_LOCKING)
-       set(USE_DOT_LOCKING ENABLE_DOT_LOCKING)
+       set(USE_DOT_LOCKING ${ENABLE_DOT_LOCKING})
 endif(WIN32 AND ENABLE_DOT_LOCKING)
 
 add_printable_variable(ENABLE_FILE_LOCKING "Enable support for locking mail files with file locking (one of 
fcntl/flock/no)" "fcntl")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]