mirror of https://gitee.com/bigwinds/arangodb
Add Makefile support for etcd.
This commit is contained in:
parent
7dc9e89357
commit
9448ff8243
|
@ -0,0 +1,51 @@
|
|||
# -*- mode: Makefile; -*-
|
||||
|
||||
## -----------------------------------------------------------------------------
|
||||
## --SECTION-- ETCD
|
||||
## -----------------------------------------------------------------------------
|
||||
|
||||
################################################################################
|
||||
### @brief etcd
|
||||
################################################################################
|
||||
|
||||
BUILT_SOURCES += @ZLIB_LIBS@
|
||||
|
||||
@ZLIB_LIBS@: @srcdir@/.zlib-build-@TRI_BITS@
|
||||
|
||||
@srcdir@/.etcd-build-@TRI_BITS@:
|
||||
@echo
|
||||
@echo "--------------------------------------------------------------------------------"
|
||||
@echo "BUILDING etcd"
|
||||
@echo "--------------------------------------------------------------------------------"
|
||||
@echo
|
||||
|
||||
cd @top_srcdir@/3rdParty/etcd && ./build
|
||||
cp @top_srcdir@/3rdParty/etcd/bin/etcd @top_srcdir@/bin
|
||||
|
||||
@touch @srcdir@/.etcd-build-@TRI_BITS@
|
||||
|
||||
@echo
|
||||
@echo "--------------------------------------------------------------------------------"
|
||||
@echo "BUILD etcd FINISHED"
|
||||
@echo "--------------------------------------------------------------------------------"
|
||||
@echo
|
||||
|
||||
################################################################################
|
||||
### @brief additional files to remove
|
||||
################################################################################
|
||||
|
||||
CLEANUP_3RD += clean-etcd
|
||||
|
||||
clean-etcd:
|
||||
rm -f @srcdir@/.etcd-build-@TRI_BITS@
|
||||
cd @top_srcdir@/3rdParty/etcd && rm -rf bin pkg src
|
||||
rm -f @top_srcdir@/bin/etcd
|
||||
|
||||
## -----------------------------------------------------------------------------
|
||||
## --SECTION-- END-OF-FILE
|
||||
## -----------------------------------------------------------------------------
|
||||
|
||||
## Local Variables:
|
||||
## mode: outline-minor
|
||||
## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)"
|
||||
## End:
|
|
@ -498,6 +498,12 @@ endif
|
|||
|
||||
include 3rdParty/Makefile.zlib
|
||||
|
||||
################################################################################
|
||||
### @brief etcd
|
||||
################################################################################
|
||||
|
||||
include 3rdParty/Makefile.etcd
|
||||
|
||||
## -----------------------------------------------------------------------------
|
||||
## --SECTION-- END-OF-FILE
|
||||
## -----------------------------------------------------------------------------
|
||||
|
|
|
@ -0,0 +1,137 @@
|
|||
/* config/config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* static programs have broken cxa_guard */
|
||||
#undef BROKEN_CXA_GUARD
|
||||
|
||||
/* define if the Boost library is available */
|
||||
#undef HAVE_BOOST
|
||||
|
||||
/* Define to 1 if you have the <ev.h> header file. */
|
||||
#undef HAVE_EV_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <openssl/ssl.h> header file. */
|
||||
#undef HAVE_OPENSSL_SSL_H
|
||||
|
||||
/* Define if you have POSIX threads libraries and header files. */
|
||||
#undef HAVE_PTHREAD
|
||||
|
||||
/* Define to 1 if you have the <readline/readline.h> header file. */
|
||||
#undef HAVE_READLINE_READLINE_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* true if SSLv23_method return SSL_METHOD const* */
|
||||
#undef OPENSSL_NEEDS_CONST
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to necessary symbol if this constant uses a non-standard name on
|
||||
your system. */
|
||||
#undef PTHREAD_CREATE_JOINABLE
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* "" */
|
||||
#undef TRI_CONFIGURE_COMMAND
|
||||
|
||||
/* "" */
|
||||
#undef TRI_CONFIGURE_FLAGS
|
||||
|
||||
/* "" */
|
||||
#undef TRI_CONFIGURE_OPTIONS
|
||||
|
||||
/* always true */
|
||||
#undef TRI_ENABLE_CLUSTER
|
||||
|
||||
/* true if figures are enabled */
|
||||
#undef TRI_ENABLE_FIGURES
|
||||
|
||||
/* true if high resolution clock should be used */
|
||||
#undef TRI_ENABLE_HIRES_FIGURES
|
||||
|
||||
/* true if logging is enabled */
|
||||
#undef TRI_ENABLE_LOGGER
|
||||
|
||||
/* true if timing is enabled */
|
||||
#undef TRI_ENABLE_LOGGER_TIMING
|
||||
|
||||
/* true if maintainer mode is enabled */
|
||||
#undef TRI_ENABLE_MAINTAINER_MODE
|
||||
|
||||
/* true if mruby should be used */
|
||||
#undef TRI_ENABLE_MRUBY
|
||||
|
||||
/* true if timing is enabled */
|
||||
#undef TRI_ENABLE_TIMING
|
||||
|
||||
/* true if linenoise is used */
|
||||
#undef TRI_HAVE_LINENOISE
|
||||
|
||||
/* true if readline is used */
|
||||
#undef TRI_HAVE_READLINE
|
||||
|
||||
/* "" */
|
||||
#undef TRI_REPOSITORY_VERSION
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
||||
`char[]'. */
|
||||
#undef YYTEXT_POINTER
|
||||
|
||||
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||
# define _DARWIN_USE_64_BIT_INODE 1
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
#undef _LARGE_FILES
|
11
configure.ac
11
configure.ac
|
@ -117,6 +117,17 @@ AC_ARG_ENABLE(all-in-one-boost,
|
|||
|
||||
AM_CONDITIONAL(ENABLE_ALL_IN_ONE_BOOST, test "x$tr_ALL_IN_ONE_BOOST" = xyes)
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
dnl ETCD
|
||||
dnl ----------------------------------------------------------------------------
|
||||
|
||||
AC_ARG_ENABLE(all-in-one-etcd,
|
||||
AS_HELP_STRING([--enable-all-in-one-etcd], [use supplied etcd from 3rdParty directory (default: yes)]),
|
||||
[tr_ALL_IN_ONE_ETCD="${enableval:-yes}"],
|
||||
[tr_ALL_IN_ONE_ETCD=yes]
|
||||
)
|
||||
|
||||
AM_CONDITIONAL(ENABLE_ALL_IN_ONE_ETCD, test "x$tr_ALL_IN_ONE_ETCD" = xyes)
|
||||
|
||||
dnl ============================================================================
|
||||
dnl --SECTION-- OPTIONS
|
||||
|
|
Loading…
Reference in New Issue