Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 2e80198f2314b6c02c1b9de213388329 > files > 3

nfs-ganesha-2.8.2-8.mga9.src.rpm

diff -Nrup a/src/cmake/modules/FindCEPHFS.cmake b/src/cmake/modules/FindCEPHFS.cmake
--- a/src/cmake/modules/FindCEPHFS.cmake	2019-07-02 19:43:30.000000000 +0200
+++ b/src/cmake/modules/FindCEPHFS.cmake	2019-07-17 13:24:59.895475251 +0200
@@ -126,6 +126,8 @@ else (NOT CEPH_FS)
 	  set(USE_FSAL_CEPH_GET_FS_CID ON)
   endif(NOT CEPH_FS_GET_FS_CID)
 
+include(CheckSymbolExists)
+
   set(CMAKE_REQUIRED_INCLUDES ${CEPHFS_INCLUDE_DIR})
   check_symbol_exists(CEPH_STATX_INO "cephfs/libcephfs.h" CEPH_FS_CEPH_STATX)
   if(NOT CEPH_FS_CEPH_STATX)
diff -Nrup a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt	2019-07-02 19:43:30.000000000 +0200
+++ b/src/CMakeLists.txt	2019-07-17 13:23:29.784787785 +0200
@@ -450,6 +450,7 @@ ENDIF()
 include(CheckIncludeFiles)
 include(CheckLibraryExists)
 include(CheckCSourceCompiles)
+include(CheckSymbolExists)
 include(TestBigEndian)
 
 check_include_files(strings.h HAVE_STRINGS_H)