Wladimir J. van der Laan
b77dfdc9e3
Typesafe strprintf/error/LogPrint functions
...
Switch to tinyformat-based formatting.
Tinyformat is a typesafe drop-in replacement for C99 printf functions:
https://github.com/c42f/tinyformat
11 years ago
Wladimir J. van der Laan
6ac0b3be2d
build: Add -static for mingw builds
...
This avoids a dependency on libssp-0.dll when built with
-fstack-protector-all.
11 years ago
Philip Kaufmann
4e57e23833
enable full GCC Stack-smashing protection for all OSes
...
- change our hardening options to use -fstack-protector-all even for
Windows builds, as we recently switched to a newer compiler suite
- also removes an obsolete workaround for GCC 4.5
(https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/691722 ), which
required to first set -fno-stack-protector, before -fstack-protector-all
11 years ago
Wladimir J. van der Laan
fe14e8d790
build: Change package name to Bitcoin Core
...
Affects the name of the package as shown in installers
and such.
Also rebrand the windows installer.
11 years ago
Wladimir J. van der Laan
2f87b38e2e
Adapt Windows installer for 64 bit
11 years ago
Luke Dashjr
e18e1001eb
configure: Minor grammatical changes to be more clear
11 years ago
Luke Dashjr
a9dbcf036b
configure: Change --with[out]-qt to --with[out]-gui and add --with[out]-cli and --with[out]-daemon to support more build configurations
11 years ago
Luke Dashjr
f47299038d
Bugfix: Correct captitalisation of Qt
11 years ago
Luke Dashjr
f930341d81
configure: Internal changes to make building bitcoind and bitcoin-cli optional
11 years ago
Luke Dashjr
4a290b526c
Cleanup LevelDB library dependencies
11 years ago
Luke Dashjr
9b4e03b27b
Bugfix: Undefine _FORTIFY_SOURCE before redefining it, to avoid warnings on compilers that define it by default
11 years ago
Luke Dashjr
123e4f878e
Bugfix: configure: Allow user-provided CXXFLAGS to override default optimisation, debug, and warning flags
11 years ago
Wladimir J. van der Laan
714cdecb03
build: Pass BOOST_CPPFLAGS to sleep implementation test
...
Makes sure that `-pthread` and other flags required for boost
compilation are passed.
11 years ago
Wladimir J. van der Laan
0d40f5a6be
build: Allow providing extra libs for Boost Chrono
...
Pass BOOST_CHRONO_EXTRALIBS to give extra dependency
libraries for Boost Chrono which are not auto-detected.
11 years ago
Wladimir J. van der Laan
e4b991e56d
build: Auto-detect whether -DBOOST_TEST_DYN_LINK is needed
...
Use AC_LINK_IFELSE to auto-detect whether boost test is linked
dynamically, instead of assuming based on target.
11 years ago
Christopher Latham
720731d281
Update configure.ac
...
Added ubuntu 13.10 and libboost1.54-all-dev incompatibility instruction to the existing no boost_sleep warning.
11 years ago
Wladimir J. van der Laan
5bab55898d
qt: Update copyright year in about dialog to 2014
11 years ago
Wladimir J. van der Laan
b7f4b6d35d
GUI for --disable-wallet compiles and -disablewallet mode
...
There is not much in the GUI to be done without wallet,
though it's possible to change options, watch the sync process,
and use the debug console.
So embed the debug console in the main window.
11 years ago
Cory Fields
2691cbc4b3
qt5: Force macports default include path to be searched last
...
Allows outside includes to take precedence. In particular, this allows for
a specified Qt to be used without clashing with macports' headers.
11 years ago
Cory Fields
c8ba8ef654
qt5: split out qt config and add qt5 support
...
Qt5 detection is a big ugly mess, but at least we can fence it off.
11 years ago
Cory Fields
b878b763cb
build: fix syntax error on older m4/autoconf.
...
Fixes #3358 . This affects preinstalled autotools on osx 10.6.
11 years ago
Wladimir J. van der Laan
4f9e993bc9
Add --disable-wallet option to build system
...
Make it possible to build Bitcoin without wallet
(and thus without BDB) so that it only functions as node.
11 years ago
Josh Triplett
a26a367629
configure.ac: Check for miniupnpc headers, not just -lminiupnpc
...
This protects against broken systems which have libminiupnpc.a or
libminiupnpc.so installed but don't have the miniupnpc headers.
11 years ago
Florin
c89d59c38a
Remove '/': prefix always starts with '/'
...
brew --prefix retruns a fully qualified path, so using -L/$prefix results in a path with two leading '/'.
11 years ago
Wladimir J. van der Laan
6ad44f5693
configure: lupdate is not needed for Qt build
...
Don't require lupdate to build with Qt. Like xgettext it is only
needed to update translations, not for normal builds.
This fixes the gitian build (broken by fcfbf547d
).
11 years ago
Wladimir J. van der Laan
d6f690f7da
Use C99 printf statements in mingw
...
Otherwise, format specifiers such as %llu will not work on XP or
earlier.
This bug was introduced with 51ed9ec9
.
http://sourceforge.net/apps/trac/mingw-w64/wiki/gnu%20printf
11 years ago
Luke Dashjr
fcfbf547d3
configure: Automatically disable bitcoin-qt by default, if dependencies are not met
11 years ago
Brandon Dahler
51ed9ec971
Cleanup code using forward declarations.
...
Use misc methods of avoiding unnecesary header includes.
Replace int typedefs with int##_t from stdint.h.
Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
Normalize QT_VERSION ifs where possible.
Resolve some indirect dependencies as direct ones.
Remove extern declarations from .cpp files.
11 years ago
Matt Corallo
47b9374e39
Make large-reorg tests optional in block-tester
11 years ago
Philip Kaufmann
96b9603c01
misc spelling / space / style fixes
11 years ago
Cory Fields
c589f5f2bd
build: add libcrypt32 dep for new mingw. Also ensure that libgcc/libstdc++ are static-linked regardless of the toolchain config
11 years ago
Cory Fields
5ceb9c9637
win32: only check for windres for win32, and fail if missing
11 years ago
Jeff Garzik
2e9c8aed31
configure.ac: remove unneeded OSX flags
11 years ago
Jeff Garzik
8bd6d19a92
configure.ac: remove debug/release concept, prefer autotools default CXXFLAGS
11 years ago
Cory Fields
152e51c7af
included-tests: generate binary data from test files for inclusion into test binaries
...
This change moves test data into the binaries rather than reading them from
the disk at runtime.
Advantages:
- Tests become distributable
- Cross-compile friendly. Build on one machine and execute in an arbitrary
location on another.
- Easier testing for backports. Users can verify that tests pass without having
to track down corresponding test data.
- More trustworthy test results and easier quality assurance as tests make
fewer assumptions about their environment.
- Tests could theoretically run at client/daemon startup and exit on failure.
Disadvantages:
- Required 'hexdump' build-dependency. This is a standard bsd tool that should
be usable everywhere. It is likely already installed on all build-machines.
- Tests can no longer be fudged after build by altering test-data.
11 years ago
Cory Fields
035ddf6f6b
autotools: check for lupdate/xgettext
11 years ago
Luke Dashjr
9a09c0091c
configure: Prefer specific known-good versions of Qt metacompiler tools
11 years ago
Luke Dashjr
941dba1783
configure: Check common include subdirectories for bdb headers, and refuse to use any version other than 4.8 by default
11 years ago
Jeff Garzik
12564aa166
configure.ac: remove superfluous bracket
...
Reported-by: Cory Fields
11 years ago
Cory Fields
35b8af9226
autotools: switch to autotools buildsystem
11 years ago