aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2014-08-21build: work around ccache/autotools warning-spamming bugCory Fields
When using clang and ccache, builds spew lots of: Clang: warning: argument unused during compilation Upstream bug: https://bugzilla.samba.org/show_bug.cgi?id=8118 This is harmless, bug annoying. If ccache is being used and the -Qunused-arguments flag is supported (clang), use it.
2014-08-18build: add option for reducing exports (v2)Cory Fields
This was committed previously as 4975ae172 and reverted, because the flags were applied even if the checks didn't pass. This is the same commit, fixed up to actually disable the functionality when necessary. Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
2014-08-18Revert "build: add option for reducing exports"Wladimir J. van der Laan
Revert #4663 for now. It still breaks the pulltester. This reverts commit 4975ae1722cd8af63eda2f02ef64a98091b6fb58. Conflicts: configure.ac
2014-08-17build: Add --with-utils (bitcoin-cli and bitcoin-tx, default=yes).randy-waterhouse
Help string consistency tweaks. Target sanity check fix.
2014-08-15build: add option for reducing exportsCory Fields
Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
2014-08-15build: fix automake warnings about the use of INCLUDESCory Fields
While we're at it, reduce the use of LIBS as well. This makes dependencies explicit. Fixes building with (the not-yet-merged) libsecp256k1 as well. Github-Pull: #4689 Rebased-By: Wladimir J. van der laan <laanwj@gmail.com> Rebased-From: 909b347 c0e5dda
2014-08-12build: check for sys/prctl.h in the proper wayWladimir J. van der Laan
Use AC_CHECK_HEADERS to check for the header, and include it only if detected and the subsequent HAVE_SYS_PRCTL_H is set.
2014-08-08build: fix FDELT_TYPE configure checkCory Fields
This probably never worked properly. Confirmed working now with every compiler I throw at it.
2014-08-06build: silence mingw fpic warning spewCory Fields
2014-08-06build: don't let libtool insert rpath into binariesCory Fields
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.