aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2014-07-22build: fix broken boost chrono check on some platformsCory Fields
If clock_gettime is implemented outside of libc (librt in this case), configure would fail when testing boost. Since clock_gettime is not present on all OSs, boost only uses it when it can. Check for it in librt and add it to LIBS if found, but don't fail if it's not (since boost won't be expecting it in this case). Also, reverse the link order as necessary for static libs. Note that it's possible that there are other similar cases for boost, which may be handled the same way.
2014-07-17build: fix whitespace in pkg-config variableCory Fields
Useful for PKG_CONFIG="pkg-config --static"
2014-07-17build: allow linux and osx to build against static qt5Cory Fields
This is the first part of a huge effort to rework the handling of dependencies. To start, this change allows all supported platforms to build against a static Qt. 5.2.1 and 5.3 have been successfully tested against osx64, win32, win64, linux32, and linux64. It also makes a small change to the windows config, to allow linking against qt builds with or without built-in libjpeg/libpng/libpcre/libz. The actual build processes to take advantage of these changes (for gitian and pull-tester) are coming soon. Until then, this should be a no-op.
2014-07-08build: fix win32 static linking after libtool mergeCory Fields
Libtool eats the -static flag rather than passing it along to the compiler. To get the same effect, -all-static is used instead.
2014-07-04Merge pull request #4421Wladimir J. van der Laan
caf6150 Use async name resolving to improve net thread responsiveness (Huang Le)
2014-07-01secp256k1: Add build-side changes for libsecp256k1Cory Fields
Note: This is added to our existing automake targets rather than as a libtool-style lib. The switch to libtool-style targets can come later if it proves to not add any complications.
2014-07-01secp256k1: add libtool as a dependencyCory Fields
2014-06-27Use async name resolving to improve net thread responsivenessHuang Le
In the LookupIntern(), things changed are: 1. Call getaddrinfo_a() instead of getaddrinfo() if available, the former is a sync version of the latter; 2. Try using inet_pton()/inet_addr() to convert the input text to a network addr structure at first, if success the extra name resolving thread inside getaddrinfo_a() could be avoided; 3. An interruption point added in the waiting loop for return from getaddrinfo_a(), which completes the improve for thread responsiveness. A easy way to see the effect is to kick off a 'bitcoind stop' immediately after 'bitcoind -daemon', before the change it would take several, or even tens of, minutes on a bad network situation to wait for the running bitcoind to exit, now it costs only seconds. Signed-off-by: Huang Le <4tarhl@gmail.com>
2014-06-21crypto: explicitly check for byte read/write functionsCory Fields
Don't depend on hard-coded platform lists
2014-06-21build: move bitcoin-config.h to its own directoryCory Fields
This allows us to include its path without making other header includes valid.
2014-06-16sanity: autoconf check for sys/select.hCory Fields
2014-06-05build: Switch to non-recursive makeCory Fields
Build logic moves from individual Makefile.am's to include files, which the main src/Makefile.am includes. This avoids having to manage a gigantic single Makefile. TODO: Move the rules from the old Makefile.include to where they actually belong and nuke the old file.
2014-05-23Replace non-threadsafe strerrorWladimir J. van der Laan
Log the name of the error as well as the error code if a network problem happens. This makes network troubleshooting more convenient. Use thread-safe strerror_r and the WIN32 equivalent FormatMessage.
2014-05-01Remove build-time no-IPv6 settingWladimir J. van der Laan
The year is 2014. All supported operating systems have IPv6 support, most certainly at build time (this doesn't mean that IPv6 is configured, of course). If noone is exercising the functionality to disable it, that means it doesn't get tested, and IMO it's better to get rid of it. (it's also not used consistently in RPC/boost and Net code...)
2014-04-10build: add an option for enabling glibc back-compatCory Fields
Using "./configure --enable-glibc-back-compat" will attempt to be compatible with a target running glibc abi 2.9 and libstdc++ abi 3.4.
2014-03-20build: hook up "make deploy" for cross osx buildsCory Fields
2014-03-20build: if cross-compiling for an apple host, locate some additional toolsCory Fields
This should be safe to do for native builds too, but for now it's specific to cross-builds to avoid possible regressions.
2014-03-10Merge pull request #3833Wladimir J. van der Laan
f5f157b add --enable-debug for configure (daniel)
2014-03-10add --enable-debug for configuredaniel
2014-03-04build: Version bump to 0.9.99, disable IS_RELEASEWladimir J. van der Laan
`master` is not a release. Use the same convention as before and label these intermediate builds as x.x.99.
2014-02-05-Wl,-z,relro and -z,now were wiping out environmental LDFLAGS passed in by ↵Midnight Magic
the user. I moved them to HARDENING_* where they belong.
2014-01-29Bump version numbers for 0.9.0rc1 releaseWladimir J. van der Laan
2014-01-23Typesafe strprintf/error/LogPrint functionsWladimir J. van der Laan
Switch to tinyformat-based formatting. Tinyformat is a typesafe drop-in replacement for C99 printf functions: https://github.com/c42f/tinyformat
2014-01-23Merge pull request #3560Wladimir J. van der Laan
fe14e8d build: Change package name to Bitcoin Core (Wladimir J. van der Laan) 6c980c7 build: Package docs/ and don't package source. (Wladimir J. van der Laan) 39db27c build: Add bitcoin-cli.exe to installer (Wladimir J. van der Laan) 2f87b38 Adapt Windows installer for 64 bit (Wladimir J. van der Laan) f622232 gitian: Windows 64 bit support (Wladimir J. van der Laan)
2014-01-22build: Add -static for mingw buildsWladimir J. van der Laan
This avoids a dependency on libssp-0.dll when built with -fstack-protector-all.
2014-01-22enable full GCC Stack-smashing protection for all OSesPhilip Kaufmann
- 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
2014-01-21build: Change package name to Bitcoin CoreWladimir J. van der Laan
Affects the name of the package as shown in installers and such. Also rebrand the windows installer.
2014-01-21Adapt Windows installer for 64 bitWladimir J. van der Laan
2014-01-18configure: Minor grammatical changes to be more clearLuke Dashjr
2014-01-18configure: Change --with[out]-qt to --with[out]-gui and add --with[out]-cli ↵Luke Dashjr
and --with[out]-daemon to support more build configurations
2014-01-18Bugfix: Correct captitalisation of QtLuke Dashjr
2014-01-18configure: Internal changes to make building bitcoind and bitcoin-cli optionalLuke Dashjr
2014-01-18Cleanup LevelDB library dependenciesLuke Dashjr
2014-01-18Bugfix: Undefine _FORTIFY_SOURCE before redefining it, to avoid warnings on ↵Luke Dashjr
compilers that define it by default
2014-01-18Bugfix: configure: Allow user-provided CXXFLAGS to override default ↵Luke Dashjr
optimisation, debug, and warning flags
2014-01-18Merge pull request #3545Wladimir J. van der Laan
1cbbeb6 gitian: Add openssl to linux deps (Wladimir J. van der Laan) 64be7f7 gitian: Build boost dependency for linux (Wladimir J. van der Laan) 7eb99a8 gitian: Reduce build time for boost windows dependency (Wladimir J. van der Laan) 714cdec build: Pass BOOST_CPPFLAGS to sleep implementation test (Wladimir J. van der Laan) 0d40f5a build: Allow providing extra libs for Boost Chrono (Wladimir J. van der Laan) e4b991e build: Auto-detect whether -DBOOST_TEST_DYN_LINK is needed (Wladimir J. van der Laan)
2014-01-16build: Pass BOOST_CPPFLAGS to sleep implementation testWladimir J. van der Laan
Makes sure that `-pthread` and other flags required for boost compilation are passed.
2014-01-16build: Allow providing extra libs for Boost ChronoWladimir J. van der Laan
Pass BOOST_CHRONO_EXTRALIBS to give extra dependency libraries for Boost Chrono which are not auto-detected.
2014-01-16build: Auto-detect whether -DBOOST_TEST_DYN_LINK is neededWladimir J. van der Laan
Use AC_LINK_IFELSE to auto-detect whether boost test is linked dynamically, instead of assuming based on target.
2014-01-14Update configure.acChristopher Latham
Added ubuntu 13.10 and libboost1.54-all-dev incompatibility instruction to the existing no boost_sleep warning.
2014-01-14qt: Update copyright year in about dialog to 2014Wladimir J. van der Laan
2014-01-11GUI for --disable-wallet compiles and -disablewallet modeWladimir J. van der Laan
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.
2014-01-10qt5: Force macports default include path to be searched lastCory Fields
Allows outside includes to take precedence. In particular, this allows for a specified Qt to be used without clashing with macports' headers.
2014-01-10qt5: split out qt config and add qt5 supportCory Fields
Qt5 detection is a big ugly mess, but at least we can fence it off.
2013-12-11build: fix syntax error on older m4/autoconf.Cory Fields
Fixes #3358. This affects preinstalled autotools on osx 10.6.
2013-12-08Merge pull request #3322Wladimir J. van der Laan
26d1b65 src/Makefile.am: Simplify clean of leveldb (Josh Triplett) a26a367 configure.ac: Check for miniupnpc headers, not just -lminiupnpc (Josh Triplett) 82ccb05 autogen.sh: Stop passing --verbose to autoreconf (Josh Triplett) e12dafd autogen.sh: Use long options to autoreconf, for self-documentation (Josh Triplett) 19b9add autogen.sh: Support running from outside the source directory (Josh Triplett) 97d285a autogen.sh: Use set -e to fail if any command fails (Josh Triplett) f80b723 autogen.sh: Add a /bin/sh shebang. (Josh Triplett)
2013-12-04Add --disable-wallet option to build systemWladimir J. van der Laan
Make it possible to build Bitcoin without wallet (and thus without BDB) so that it only functions as node.
2013-11-27configure.ac: Check for miniupnpc headers, not just -lminiupnpcJosh Triplett
This protects against broken systems which have libminiupnpc.a or libminiupnpc.so installed but don't have the miniupnpc headers.
2013-11-22Remove '/': prefix always starts with '/'Florin
brew --prefix retruns a fully qualified path, so using -L/$prefix results in a path with two leading '/'.
2013-11-14configure: lupdate is not needed for Qt buildWladimir J. van der Laan
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).