Commit b86b1cb4 authored by Michi Mutsuzaki's avatar Michi Mutsuzaki
Browse files

ZOOKEEPER-1019. zkfuse doesn't list dependency on boost in README (Raul...

ZOOKEEPER-1019. zkfuse doesn't list dependency on boost in README (Raul Gutierrez Segales via michim)


git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1549963 13f79535-47bb-0310-9956-ffa450edef68
parent 4d44680a
......@@ -175,6 +175,9 @@ BUGFIXES:
ZOOKEEPER-1459. Standalone ZooKeeperServer is not closing
the transaction log files on shutdown (Rakesh R via fpj)
ZOOKEEPER-1019. zkfuse doesn't list dependency on boost in README
(Raul Gutierrez Segales via michim)
IMPROVEMENTS:
ZOOKEEPER-1564. Allow JUnit test build with IBM Java
......
......@@ -11,6 +11,7 @@ Pre-requisites
a. fuse
b. log4cxx
c. pthread
d. boost
Build instructions
------------------
......
......@@ -23,7 +23,7 @@ AC_PROG_CXX
# Checks for libraries.
AC_CHECK_LIB([fuse], [main])
AC_CHECK_LIB([log4cxx], [main])
AC_CHECK_LIB([log4cxx], [main], [], [AC_MSG_ERROR("We need log4cxx to build zkfuse")])
AC_CHECK_LIB([thread], [thr_create])
AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([rt], [clock_gettime])
......@@ -32,7 +32,8 @@ AC_CHECK_LIB([nsl], [gethostbyname])
AC_CHECK_LIB([ulockmgr], [ulockmgr_op])
ZOOKEEPER_PATH=${BUILD_PATH}/../../c
AC_CHECK_LIB(zookeeper_mt, main, [ZOOKEEPER_LD="-L${ZOOKEEPER_PATH}/.libs -lzookeeper_mt"],,["-L${ZOOKEEPER_PATH}/.libs"])
ZOOKEEPER_BUILD_PATH=${BUILD_PATH}/../../../build/c
AC_CHECK_LIB(zookeeper_mt, main, [ZOOKEEPER_LD="-L${ZOOKEEPER_BUILD_PATH}/.libs -lzookeeper_mt"],,["-L${ZOOKEEPER_BUILD_PATH}/.libs"])
AC_SUBST(ZOOKEEPER_PATH)
AC_SUBST(ZOOKEEPER_LD)
......@@ -41,6 +42,7 @@ AC_SUBST(ZOOKEEPER_LD)
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/utility.hpp boost/weak_ptr.hpp],, AC_MSG_ERROR([boost library headers not found. Please install boost library.]))
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment