-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
52a5f90 Create the common location for all m4 autotool build scripts, build-aux/m4.
- Loading branch information
Showing
17 changed files
with
42 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ACLOCAL_AMFLAGS = -I src/m4 | ||
ACLOCAL_AMFLAGS = -I build-aux/m4 | ||
SUBDIRS = src | ||
.PHONY: deploy FORCE | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ define(_CLIENT_VERSION_BUILD, 0) | |
define(_CLIENT_VERSION_IS_RELEASE, false) | ||
define(_COPYRIGHT_YEAR, 2014) | ||
AC_INIT([Bitcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[[email protected]],[bitcoin]) | ||
AC_CONFIG_AUX_DIR([src/build-aux]) | ||
AC_CONFIG_MACRO_DIR([src/m4]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AC_CONFIG_MACRO_DIR([build-aux/m4]) | ||
LT_INIT([disable-shared]) | ||
AC_CANONICAL_HOST | ||
AH_TOP([#ifndef BITCOIN_CONFIG_H]) | ||
|
@@ -44,6 +44,30 @@ AM_MAINTAINER_MODE([enable]) | |
dnl make the compilation flags quiet unless V=1 is used | ||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
|
||
dnl Checks for programs. | ||
AC_PROG_CXX | ||
AC_PROG_CC | ||
AC_PROG_CPP | ||
AC_PROG_CXXCPP | ||
AC_PROG_INSTALL | ||
AC_PROG_OBJC | ||
AC_PROG_LN_S | ||
m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCXX]) | ||
AC_PROG_MKDIR_P | ||
AC_PROG_SED | ||
AC_PATH_TOOL(AR, ar) | ||
AC_PATH_TOOL(RANLIB, ranlib) | ||
AC_PATH_TOOL(STRIP, strip) | ||
AC_PATH_TOOL(GCOV, gcov) | ||
AC_PATH_PROG(LCOV, lcov) | ||
AC_PATH_PROG(JAVA, java) | ||
AC_PATH_PROG(GENHTML, genhtml) | ||
AC_PATH_PROG([GIT], [git]) | ||
AC_PATH_PROG(CCACHE,ccache) | ||
AC_PATH_PROG(XGETTEXT,xgettext) | ||
AC_PATH_PROG(HEXDUMP,hexdump) | ||
PKG_PROG_PKG_CONFIG | ||
|
||
# Enable wallet | ||
AC_ARG_ENABLE([wallet], | ||
[AS_HELP_STRING([--enable-wallet], | ||
|
@@ -120,30 +144,6 @@ AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[spec | |
AC_CONFIG_SRCDIR([src]) | ||
AC_CONFIG_HEADERS([src/config/bitcoin-config.h]) | ||
|
||
dnl Checks for programs. | ||
AC_PROG_CXX | ||
AC_PROG_CC | ||
AC_PROG_CPP | ||
AC_PROG_CXXCPP | ||
AC_PROG_INSTALL | ||
AC_PROG_OBJC | ||
AC_PROG_LN_S | ||
m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCXX]) | ||
AC_PROG_MKDIR_P | ||
AC_PROG_SED | ||
AC_PATH_TOOL(AR, ar) | ||
AC_PATH_TOOL(RANLIB, ranlib) | ||
AC_PATH_TOOL(STRIP, strip) | ||
AC_PATH_TOOL(GCOV, gcov) | ||
AC_PATH_PROG(LCOV, lcov) | ||
AC_PATH_PROG(JAVA, java) | ||
AC_PATH_PROG(GENHTML, genhtml) | ||
AC_PATH_PROG([GIT], [git]) | ||
AC_PATH_PROG(CCACHE,ccache) | ||
AC_PATH_PROG(XGETTEXT,xgettext) | ||
AC_PATH_PROG(HEXDUMP,hexdump) | ||
PKG_PROG_PKG_CONFIG | ||
|
||
# Enable debug | ||
AC_ARG_ENABLE([debug], | ||
[AS_HELP_STRING([--enable-debug], | ||
|