Rename darkcoin config header.
This commit is contained in:
parent
97600bbfba
commit
a179777a0a
4
.gitignore
vendored
4
.gitignore
vendored
@ -13,8 +13,8 @@ autom4te.cache/
|
|||||||
config.log
|
config.log
|
||||||
config.status
|
config.status
|
||||||
configure
|
configure
|
||||||
src/bitcoin-config.h
|
src/darkcoin-config.h
|
||||||
src/bitcoin-config.h.in
|
src/darkcoin-config.h.in
|
||||||
src/build-aux/
|
src/build-aux/
|
||||||
src/stamp-h1
|
src/stamp-h1
|
||||||
share/setup.nsi
|
share/setup.nsi
|
||||||
|
14
configure.ac
14
configure.ac
@ -2,17 +2,17 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
|
|||||||
AC_PREREQ([2.60])
|
AC_PREREQ([2.60])
|
||||||
define(_CLIENT_VERSION_MAJOR, 0)
|
define(_CLIENT_VERSION_MAJOR, 0)
|
||||||
define(_CLIENT_VERSION_MINOR, 11)
|
define(_CLIENT_VERSION_MINOR, 11)
|
||||||
define(_CLIENT_VERSION_REVISION, 1)
|
define(_CLIENT_VERSION_REVISION, 2)
|
||||||
define(_CLIENT_VERSION_BUILD, 25)
|
define(_CLIENT_VERSION_BUILD, 0)
|
||||||
define(_CLIENT_VERSION_IS_RELEASE, true)
|
define(_CLIENT_VERSION_IS_RELEASE, true)
|
||||||
define(_COPYRIGHT_YEAR, 2015)
|
define(_COPYRIGHT_YEAR, 2015)
|
||||||
AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin])
|
AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin])
|
||||||
AC_CONFIG_AUX_DIR([src/build-aux])
|
AC_CONFIG_AUX_DIR([src/build-aux])
|
||||||
AC_CONFIG_MACRO_DIR([src/m4])
|
AC_CONFIG_MACRO_DIR([src/m4])
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
AH_TOP([#ifndef BITCOIN_CONFIG_H])
|
AH_TOP([#ifndef DARKCOIN_CONFIG_H])
|
||||||
AH_TOP([#define BITCOIN_CONFIG_H])
|
AH_TOP([#define DARKCOIN_CONFIG_H])
|
||||||
AH_BOTTOM([#endif //BITCOIN_CONFIG_H])
|
AH_BOTTOM([#endif //DARKCOIN_CONFIG_H])
|
||||||
|
|
||||||
# This m4 will only be used if a system copy cannot be found. This is helpful
|
# This m4 will only be used if a system copy cannot be found. This is helpful
|
||||||
# on systems where autotools are installed but the pkg-config macros are not in
|
# on systems where autotools are installed but the pkg-config macros are not in
|
||||||
@ -111,7 +111,7 @@ AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[spec
|
|||||||
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([src])
|
AC_CONFIG_SRCDIR([src])
|
||||||
AC_CONFIG_HEADERS([src/bitcoin-config.h])
|
AC_CONFIG_HEADERS([src/darkcoin-config.h])
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
@ -312,7 +312,7 @@ dnl Check for pthread compile/link requirements
|
|||||||
AX_PTHREAD
|
AX_PTHREAD
|
||||||
INCLUDES="$INCLUDES $PTHREAD_CFLAGS"
|
INCLUDES="$INCLUDES $PTHREAD_CFLAGS"
|
||||||
|
|
||||||
# The following macro will add the necessary defines to bitcoin-config.h, but
|
# The following macro will add the necessary defines to darkcoin-config.h, but
|
||||||
# they also need to be passed down to any subprojects. Pull the results out of
|
# they also need to be passed down to any subprojects. Pull the results out of
|
||||||
# the cache and add them to CPPFLAGS.
|
# the cache and add them to CPPFLAGS.
|
||||||
AC_SYS_LARGEFILE
|
AC_SYS_LARGEFILE
|
||||||
|
@ -7,7 +7,7 @@ HEADERS += \
|
|||||||
../src/allocators.h \
|
../src/allocators.h \
|
||||||
../src/base58.h \
|
../src/base58.h \
|
||||||
../src/bignum.h \
|
../src/bignum.h \
|
||||||
../src/bitcoin-config.h \
|
../src/darkcoin-config.h \
|
||||||
../src/bloom.h \
|
../src/bloom.h \
|
||||||
../src/chainparams.h \
|
../src/chainparams.h \
|
||||||
../src/checkpoints.h \
|
../src/checkpoints.h \
|
||||||
|
@ -13,7 +13,7 @@ DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*
|
|||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
if [ -f Makefile ]; then $(MAKE) distclean; fi
|
if [ -f Makefile ]; then $(MAKE) distclean; fi
|
||||||
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
|
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/darkcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
|
||||||
|
|
||||||
# Yea, autogen should be run on the source archive, but I like doing git archive
|
# Yea, autogen should be run on the source archive, but I like doing git archive
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define CLIENTVERSION_H
|
#define CLIENTVERSION_H
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#else
|
#else
|
||||||
//
|
//
|
||||||
// client versioning and copyright year
|
// client versioning and copyright year
|
||||||
@ -11,8 +11,8 @@
|
|||||||
// These need to be macros, as version.cpp's and darkcoin-qt.rc's voodoo requires it
|
// These need to be macros, as version.cpp's and darkcoin-qt.rc's voodoo requires it
|
||||||
#define CLIENT_VERSION_MAJOR 0
|
#define CLIENT_VERSION_MAJOR 0
|
||||||
#define CLIENT_VERSION_MINOR 11
|
#define CLIENT_VERSION_MINOR 11
|
||||||
#define CLIENT_VERSION_REVISION 1
|
#define CLIENT_VERSION_REVISION 2
|
||||||
#define CLIENT_VERSION_BUILD 25
|
#define CLIENT_VERSION_BUILD 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "darksend.h"
|
#include "darksend.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define BITCOIN_MAIN_H
|
#define BITCOIN_MAIN_H
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#define BITCOIN_NETBASE_H
|
#define BITCOIN_NETBASE_H
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "addressbookpage.h"
|
#include "addressbookpage.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#define BITCOINGUI_H
|
#define BITCOINGUI_H
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "bitcoingui.h"
|
#include "bitcoingui.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#define NOTIFICATOR_H
|
#define NOTIFICATOR_H
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "optionsdialog.h"
|
#include "optionsdialog.h"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "optionsmodel.h"
|
#include "optionsmodel.h"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h" /* for USE_QRCODE */
|
#include "darkcoin-config.h" /* for USE_QRCODE */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_QRCODE
|
#ifdef USE_QRCODE
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_WALLET
|
#ifdef ENABLE_WALLET
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define BITCOIN_UTIL_H
|
#define BITCOIN_UTIL_H
|
||||||
|
|
||||||
#if defined(HAVE_CONFIG_H)
|
#if defined(HAVE_CONFIG_H)
|
||||||
#include "bitcoin-config.h"
|
#include "darkcoin-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user