mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
9b49ed656f
a44caf65fe Merge bitcoin-core/univalue-subtree#28: Import fixes for sanitizer reported issues 135254331e Import fixes for sanitizer reported issues d5fb86940e refactor: use c++11 range based for loop in checkObject ff9c379304 refactor: Use nullptr (c++11) instead of NULL 08a99754d5 build: use ax_cxx_compile_stdcxx.m4 to check for C++11 support 66d3713ce7 Merge bitcoin-core/univalue#29: ci: travis -> cirrus 808d487292 ci: travis -> cirrus c390ac375f Merge bitcoin-core/univalue#19: Split sources for easier buildsystem integration 4a5b0a1c65 build: Move source entries out to sources.mk 6c7d94b33c build: cleanup wonky gen usage a222637c6d Merge #23: Merge changes from jgarzik/univalue@1ae6a23 f77d0f718d Merge commit '1ae6a231a0169938eb3972c1d48dd17cba5947e1' into HEAD 1ae6a231a0 Merge pull request #57 from MarcoFalke/test_fix 92bdd11f0b univalue_write: remove unneeded sstream.h include ffb621c130 Merge pull request #56 from drodil/remove_sstream_header f33acf9fe8 Merge commit '7890db9~' into HEAD 66e0adec4d Remove unnecessary sstream header from univalue.h 88967f6586 Version 1.0.4 1dc113dbef Merge pull request #50 from luke-jr/pushKV_bool 72392fb227 [tests] test pushKV for boolean values c23132bcf4 Pushing boolean value to univalue correctly 81faab26a1 Merge pull request #48 from fwolfst/47-UPDATE_MIT_LINK_TO_HTTPS b17634ef24 Update URLs to MIT license. 88ab64f6b5 Merge pull request #46 from jasonbcox/master 35ed96da31 Merge pull request #44 from MarcoFalke/Mf1709-univalue-cherrypick-explicit 420c226290 Merge pull request #45 from MarcoFalke/Mf1710-univalue-revert-test git-subtree-dir: src/univalue git-subtree-split: a44caf65fe55b9dd8ddb08f04c0f70409efd53b3
72 lines
2.2 KiB
Text
72 lines
2.2 KiB
Text
m4_define([libunivalue_major_version], [1])
|
|
m4_define([libunivalue_minor_version], [1])
|
|
m4_define([libunivalue_micro_version], [4])
|
|
m4_define([libunivalue_interface_age], [4])
|
|
# If you need a modifier for the version number.
|
|
# Normally empty, but can be used to make "fixup" releases.
|
|
m4_define([libunivalue_extraversion], [])
|
|
|
|
dnl libtool versioning from libunivalue
|
|
m4_define([libunivalue_current], [m4_eval(100 * libunivalue_minor_version + libunivalue_micro_version - libunivalue_interface_age)])
|
|
m4_define([libunivalue_binary_age], [m4_eval(100 * libunivalue_minor_version + libunivalue_micro_version)])
|
|
m4_define([libunivalue_revision], [libunivalue_interface_age])
|
|
m4_define([libunivalue_age], [m4_eval(libunivalue_binary_age - libunivalue_interface_age)])
|
|
m4_define([libunivalue_version], [libunivalue_major_version().libunivalue_minor_version().libunivalue_micro_version()libunivalue_extraversion()])
|
|
|
|
|
|
AC_INIT([univalue], [1.0.4],
|
|
[http://github.com/jgarzik/univalue/])
|
|
|
|
dnl make the compilation flags quiet unless V=1 is used
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
AC_PREREQ(2.60)
|
|
AC_CONFIG_SRCDIR([lib/univalue.cpp])
|
|
AC_CONFIG_AUX_DIR([build-aux])
|
|
AC_CONFIG_MACRO_DIR([build-aux/m4])
|
|
AC_CONFIG_HEADERS([univalue-config.h])
|
|
AM_INIT_AUTOMAKE([subdir-objects foreign])
|
|
|
|
LIBUNIVALUE_MAJOR_VERSION=libunivalue_major_version
|
|
LIBUNIVALUE_MINOR_VERSION=libunivalue_minor_version
|
|
LIBUNIVALUE_MICRO_VERSION=libunivalue_micro_version
|
|
LIBUNIVALUE_INTERFACE_AGE=libunivalue_interface_age
|
|
|
|
# ABI version
|
|
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
|
LIBUNIVALUE_CURRENT=libunivalue_current
|
|
LIBUNIVALUE_REVISION=libunivalue_revision
|
|
LIBUNIVALUE_AGE=libunivalue_age
|
|
|
|
AC_SUBST(LIBUNIVALUE_CURRENT)
|
|
AC_SUBST(LIBUNIVALUE_REVISION)
|
|
AC_SUBST(LIBUNIVALUE_AGE)
|
|
|
|
LT_INIT
|
|
LT_LANG([C++])
|
|
|
|
dnl Require C++11 compiler (no GNU extensions)
|
|
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory], [nodefault])
|
|
|
|
case $host in
|
|
*mingw*)
|
|
LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -all-static"
|
|
;;
|
|
esac
|
|
|
|
BUILD_EXEEXT=
|
|
case $build in
|
|
*mingw*)
|
|
BUILD_EXEEXT=".exe"
|
|
;;
|
|
esac
|
|
|
|
AC_CONFIG_FILES([
|
|
Makefile
|
|
pc/libunivalue.pc
|
|
pc/libunivalue-uninstalled.pc])
|
|
|
|
AC_SUBST(LIBTOOL_APP_LDFLAGS)
|
|
AC_SUBST(BUILD_EXEEXT)
|
|
AC_OUTPUT
|
|
|