Commit 4be3579d authored by David Rich's avatar David Rich Committed by Rob Latham
Browse files

Add package config for BerkeleyDB and try to deal with build issue.

parent 30606de1
......@@ -40,12 +40,21 @@ LIBS="$LEVELDB_LIBS $LIBS"
CPPFLAGS="$LEVELDB_CFLAGS $CPPFLAGS"
CFLAGS="$LEVELDB_CFLAGS $CFLAGS"
PKG_CHECK_MODULES([BERKELEYDB],[berkeley-db],[],
AC_MSG_ERROR([Could not find working berkeleydb installation!]) )
LIBS="$BERKELEYDB_LIBS $LIBS"
CPPFLAGS="$BERKELEYDB_CFLAGS $CPPFLAGS"
CFLAGS="$BERKELEYDB_CFLAGS $CFLAGS"
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_INT64_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_CHECK_HEADER([iostream],
[AC_DEFINE([HAVE_CXX_STDHEADERS], [1], [Standard C++ Headers])])
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
......
Markdown is supported
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