Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-keyval
Commits
4be3579d
Commit
4be3579d
authored
Nov 02, 2017
by
David Rich
Committed by
Rob Latham
Nov 22, 2017
Browse files
Add package config for BerkeleyDB and try to deal with build issue.
parent
30606de1
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
4be3579d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment