find_package(libcurl REQUIRED)
-find_package(libedit REQUIRED)
-
option(USE_CRYPTOPP "Cryptopp is ON" ON)
find_package(cryptopp)
if(CRYPTOPP_FOUND)
BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel
BuildRequires: libcurl-devel
-BuildRequires: libedit-devel
BuildRequires: libxml2-devel
BuildRequires: libblkid-devel >= 2.17
BuildRequires: libudev-devel
+++ /dev/null
-# Try to find libedit
-# Once done, this will define
-#
-# LIBEDIT_FOUND - system has Profiler
-# LIBEDIT_INCLUDE_DIR - the Profiler include directories
-# LIBEDIT_LIBRARIES - link these to use Profiler
-
-if(LIBEDIT_INCLUDE_DIR AND LIBEDIT_LIBRARIES)
- set(LIBEDIT_FIND_QUIETLY TRUE)
-endif(LIBEDIT_INCLUDE_DIR AND LIBEDIT_LIBRARIES)
-
-INCLUDE(CheckCXXSymbolExists)
-
-# include dir
-
-find_path(LIBEDIT_INCLUDE_DIR histedit.h NO_DEFAULT_PATH PATHS
- /usr/include
- /opt/local/include
- /usr/local/include
-)
-
-
-# finally the library itself
-find_library(LIBLIBEDIT NAMES edit)
-set(LIBEDIT_LIBRARIES ${LIBLIBEDIT})
-
-# handle the QUIETLY and REQUIRED arguments and set LIBEDIT_FOUND to TRUE if
-# all listed variables are TRUE
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(libedit DEFAULT_MSG LIBEDIT_LIBRARIES LIBEDIT_INCLUDE_DIR)
-
-mark_as_advanced(LIBEDIT_LIBRARIES LIBEDIT_INCLUDE_DIR)
AC_SUBST(XIO_LIBS)
fi
-#
-# FreeBSD has it in base.
-#
-if test x"$freebsd" != x"yes" -a x"$with_radosgw" = x"yes"; then
-PKG_CHECK_MODULES([LIBEDIT], [libedit >= 2.11],
- [], AC_MSG_FAILURE([No usable version of libedit found.]))
-else
- LIBEDIT_LIBS="-ledit"
-fi
-
#libatomic-ops? You want it!
AC_ARG_WITH([libatomic-ops],
[AS_HELP_STRING([--without-libatomic-ops],
libboost-regex-dev,
libboost-random-dev,
libcurl4-gnutls-dev,
- libedit-dev,
libexpat1-dev,
libfcgi-dev,
libfuse-dev,
set(heap_profiler_files ${TCMALLOC_srcs})
add_library(heap_profiler_objs OBJECT ${heap_profiler_files})
-set(LIBEDIT_LIBS edit)
-
# Common infrastructure
configure_file(
${CMAKE_SOURCE_DIR}/src/ceph_ver.h.in.cmake
target_link_libraries(ceph-kvstore-tool os global ${UNITTEST_CXX_FLAGS})
install(TARGETS ceph-kvstore-tool DESTINATION bin)
-#set(ceph_srcs tools/ceph.cc tools/common.cc)
-#add_executable(ceph ${ceph_srcs})
-#target_link_libraries(ceph global ${LIBEDIT_LIBS})
-
set(ceph_conf_srcs
tools/ceph_conf.cc)
add_executable(ceph-conf ${ceph_conf_srcs})
client/Trace.cc
client/posix_acl.cc)
add_library(client ${libclient_srcs})
- target_link_libraries(client osdc mds ${LIBEDIT_LIBS})
+ target_link_libraries(client osdc mds)
set(libcephfs_srcs libcephfs.cc)
add_library(cephfs SHARED ${libcephfs_srcs})
if(${ENABLE_SHARED})
client/MetaSession.cc \
client/Trace.cc \
client/posix_acl.cc
-libclient_la_LIBADD = $(LIBOSDC) $(LIBEDIT_LIBS)
+libclient_la_LIBADD = $(LIBOSDC)
noinst_LTLIBRARIES += libclient.la
noinst_HEADERS += \