Sjors Provoost
fd46c4c001
Bump minimum Qt version to 5.5.1
6 years ago
Hennadii Stepanov
2bc3f114d0
Bump the minimum Qt version to 5.2
6 years ago
MarcoFalke
415f2bff69
Merge #13095 : build: update ax_boost_chrono/unit_test_framework
...
aa85dcf472
build: sync ax_boost_chrono/unit_test (fanquake)
Pull request description:
[ax_boost_chrono](https://github.com/bitcoin/bitcoin/blob/master/build-aux/m4/ax_boost_chrono.m4 ) and [ax_boost_unit_test_framework](https://github.com/bitcoin/bitcoin/blob/master/build-aux/m4/ax_boost_unit_test_framework.m4 ) were updated from upstream in #12678 . However some minor upstream changes were missed. Pull those changes in here so these files actually reflect their upstream serial.
Tree-SHA512: 71d9ee7a1616d9d36e6f63dedb6687918c3662bde724cdda1fdf3eb039c8973acd166273876a9b2671a7e087149fcf956552f9f2b946e5ee1835d12944c0065d
6 years ago
Wladimir J. van der Laan
2dc5ab6378
Merge #13482 : Remove boost::program_options dependency
...
f447a0a707
Remove program options from build system (Chun Kuan Lee)
11588c639e
Replace boost program_options (Chun Kuan Lee)
Pull request description:
Concept from #12744 , but without parsing negated options.
Tree-SHA512: 7f418744bb8934e313d77a5f162633746ef5d043de802b9c9cd9f7c1842e7e566eb5f171cd9e2cc13317281b2449c6fbd553fa4f09b837e6af2f5d2b2aabdca2
6 years ago
Chun Kuan Lee
f447a0a707
Remove program options from build system
6 years ago
Sebastian Kung
800dea88a6
Upgrade Qt depends to 5.9.6
6 years ago
Sebastian Kung
28482efefb
Ugrade Qt depends to Qt5.9.4
...
Depends can now be built with Qt5.9.4 , which is Qt's new long term
support version.
6 years ago
Wladimir J. van der Laan
bad068ad9f
build: Build system changes to support only Qt5
6 years ago
fanquake
aa85dcf472
build: sync ax_boost_chrono/unit_test
7 years ago
Vasil Dimov
8c632f73c2
ax_boost_{chrono,unit_test_framework}.m4: take changes from upstream
...
Apply changes to
build-aux/m4/ax_boost_chrono.m4 and
build-aux/m4/ax_boost_unit_test_framework.m4
from upstream: https://github.com/peti/autoconf-archive
7 years ago
Wladimir J. van der Laan
7cf1aea5cf
Merge #12294 : [Docs] Create NetBSD build instructions and fix compilation
...
11c5827
[build] Add NETBSD leveldb target to configure.ac (fanquake)
1944fa3
[doc] Create build-netbsd.md (Randolf Richardson)
336685e
[build] Add db4_cxx to bitcoin_find_bdb48.m4 (Randolf Richardson)
Pull request description:
Replaces #12125 .
Tree-SHA512: 411d082ffff7198bcc1b2b6fcdf86c378baf228d8f4fee0e6c9f0688efe9c6b6dcfd5c1ab9c1dfd0c4637723b8584dbbb614634ace0e1a417b59e88a6c736dc0
7 years ago
Randolf Richardson
336685e17e
[build] Add db4_cxx to bitcoin_find_bdb48.m4
...
Added "db4_cxx" as this is the name used in NetBSD for the Berkeley DB library. Without this additional base filename alternative, the "configure" script will fail to find this library and compilation will not succeed.
7 years ago
Werner Lemberg
06abcbf9ba
scripted-diff: Orthogonalize string quoting
...
Add double qoutes to string tests where arguments could (theoretically)
contain spaces.
Remove double quotes where not necessary.
-BEGIN VERIFY SCRIPT-
sed -iE -e 's/"x\(yes\|no\|auto\)\?"/x\1/g' -e 's/test \(x\$[^ ]*\)/test "\1"/g' build-aux/m4/bitcoin_qt.m4
-END VERIFY SCRIPT-
7 years ago
Werner Lemberg
e0496d3b9a
bitcoin_qt.m4: Add missing dollar sign for variable.
7 years ago
Werner Lemberg
079f4b2a24
bitcoin_qt.m4: Add missing braces around variables in autoconf messages.
7 years ago
Werner Lemberg
8695315fb2
bitcoin_qt.m4: Use correct M4 quoting characters.
7 years ago
Werner Lemberg
db32a4fd6b
bitcoin_qt.m4: Improve QT_VERSION tests.
...
Use '<QtCore/qconfig.h> and '<QtCore/qglobal.h>' for testing QT_VERSION.
This makes the tests work with both Qt4 and Qt5, even if '-fPIC' or '-fPIE'
is not used (the compiler might choke otherwise if QT_REDUCE_RELOCATIONS is
active).
7 years ago
Patrick Strateman
1cc251f50f
Explicitly search for bdb5.3.
...
Some systems do not symlink the major version to the minor version.
7 years ago
Timothy Redaelli
7222388bb2
Avoid printing generic and duplicated "checking for QT" during ./configure
...
Print "checking for QT4" and "checking for QT5" instead
8 years ago
Russell Yanofsky
bf1026412d
Run bitcoin_test-qt under minimal QPA platform
...
Fixes broken "make check" reported by Matt Corallo <git@bluematt.me> in
https://github.com/bitcoin/bitcoin/issues/10110
Fix was suggested and initially implemented by
Cory Fields <cory-nospam-@coryfields.com> in
https://github.com/bitcoin/bitcoin/pull/10117#issuecomment-290275236
8 years ago
Cory Fields
9829c54de2
build: force a c++ standard to be specified
...
Newer compilers may switch to newer standards by default. For example, gcc6
uses std=gnu++14 by default.
8 years ago
Wladimir J. van der Laan
8713de83a0
build: Add options to override BDB cflags/libs
...
Add environment settings to specify the CFLAGS and LIBS to be used for
BerkeleyDB directly. These will completely by-pass autodetection in the
same way as other similar flags.
```
BDB_CFLAGS C compiler flags for BerkeleyDB, bypasses autodetection
BDB_LIBS Linker flags for BerkeleyDB, bypasses autodetection
```
Implements #3921 .
8 years ago
Cory Fields
342eb9618a
build: find qt's renamed helper libs from 5.7
8 years ago
fanquake
282abd8358
[build-aux] Boost_Base serial 27
8 years ago
Luke Dashjr
0c4e6ce88f
Add MIT license to build-aux/m4 scripts
8 years ago
Luke Dashjr
3f8a5d8f6e
Trivial: build-aux/m4/l_atomic: Fix typo
8 years ago
Anthony Towns
878faacd7b
Add configure check for -latomic
8 years ago
Cory Fields
0c928cb13c
build: Fix Qt5PlatformSupport check without pkg-config
...
The non-pkg-config case can't use pkg-config to check the version.
Also, make sure that the check is properly guarded in the case of missing
pkg-config macros.
8 years ago
Jonas Schnelli
2759597bc8
Only pass -lQt5PlatformSupport if >=Qt5.6
9 years ago
Jonas Schnelli
6194d9a501
Fix bitcoin_qt.m4 and fix-xcb-include-order.patch
9 years ago
fanquake
0e209f9bf9
[trivial] Sync ax_pthread with upstream draft
9 years ago
Wladimir J. van der Laan
2aacc72727
build: update ax_cxx_compile_stdcxx to serial 4
9 years ago
Wladimir J. van der Laan
67969af09f
build: Enable C++11 build, require C++11 compiler
...
Implements #6211 .
9 years ago
fanquake
cf5c786fc3
[build-aux] Update Boost & check macros to latest serials
9 years ago
Wladimir J. van der Laan
354b03dee1
Merge #7604 : build: Remove spurious dollar sign. Fixes #7189 .
...
3d19193
Remove spurious dollar sign. Fixes #7189 . (Chris Moore)
9 years ago
Chris Moore
3d19193f14
Remove spurious dollar sign. Fixes #7189 .
9 years ago
Luke Dashjr
d5f46832de
Unify package name to as few places as possible without major changes
9 years ago
Cory Fields
69d0513436
build: Use fPIC rather than fPIE for qt objects.
...
But only if qt was built with reduced relocations.
9 years ago
Cory Fields
17c4d9d164
build: Split hardening/fPIE options out
...
This allows for fPIE to be used selectively.
9 years ago
Wladimir J. van der Laan
dbacc69b4f
build: If both Qt4 and Qt5 are installed, use Qt5
...
If both Qt4 and Qt5 development headers are installed, use Qt5. Building
against Qt5 should be encouraged as that is where active development
happens.
9 years ago
Cory Fields
31bfc272c7
build: make sure pkg-config checks are guarded by an m4_ifdef
9 years ago
Cory Fields
fe997dfd12
build: fix building against qt5.4/5.5
9 years ago
Wladimir J. van der Laan
55f55ec5db
qt: disable qt tests when one of the checks for the gui fails
10 years ago
Luke Dashjr
faf0af49f5
Suggest --disable-wallet when libdb_cxx headers are missing
10 years ago
Cory Fields
ee64c53c1f
build: remove internal/protected build attribute checks
...
They're not necessary, and not always supported. We only need to know about
hidden and default.
10 years ago
Cory Fields
f36a40f7fd
build: check visibility attributes
10 years ago
Luke Dashjr
b77b4eda8d
Bugfix: Replace bashisms with standard sh to fix build on non-BASH systems
10 years ago
Cory Fields
9fedafba4b
build: Fix OSX build when using Homebrew and qt5
...
Qt5 is bottled, so configure won't find it without some help. Use
brew to find out its prefix.
Also, qt5 added the host_bins variable to pkg-config, use it.
10 years ago
randy-waterhouse
e2a98d270d
Update obsolete AC macros.
10 years ago
randy-waterhouse
52a5f90360
Create the common location for all m4 autotool build scripts, build-aux/m4.
...
Update .gitignore.
10 years ago