aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4767Wladimir J. van der Laan2014-09-011-1/+2
|\ | | | | | | | | | | b144a74 depends: bump miniupnpc to 1.9.20140701. (Cory Fields) f628127 depends: bump openssl to 1.0.1i (Cory Fields) 9f7f504 build: add -DMINIUPNP_STATICLIB for new version (Cory Fields)
| * build: add -DMINIUPNP_STATICLIB for new versionCory Fields2014-08-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | libminiupnpc changed their required static define to the much more sane "MINIUPNP_STATICLIB". Sadly, they don't respect the old "STATICLIB" for back-compat. Define them both since the old one didn't seem to be conflicting anywhere. Also go ahead and split out the cppflags so that they can be applied only where they're needed. This will help us to build dll's from our libs without having their import/export declspecs poisoned.
* | build: Remove message about Ubuntu 13.10 when no boost sleep implementation ↵Wladimir J. van der Laan2014-08-291-1/+1
|/ | | | | | | | | | found It's only confusing people into thinking that they should mess with boost versions, which should not be necessary to get bitcoind to work. If there is a bug in the build system with autodetecting boost it needs to be solved not worked around.
* build: work around ccache/autotools warning-spamming bugCory Fields2014-08-211-0/+3
| | | | | | | | | | 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.
* build: add option for reducing exports (v2)Cory Fields2014-08-181-0/+78
| | | | | | | | | | | | 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.
* Revert "build: add option for reducing exports"Wladimir J. van der Laan2014-08-181-77/+0
| | | | | | | | | Revert #4663 for now. It still breaks the pulltester. This reverts commit 4975ae1722cd8af63eda2f02ef64a98091b6fb58. Conflicts: configure.ac
* build: Add --with-utils (bitcoin-cli and bitcoin-tx, default=yes).randy-waterhouse2014-08-171-11/+11
| | | | Help string consistency tweaks. Target sanity check fix.
* build: add option for reducing exportsCory Fields2014-08-151-0/+77
| | | | | | | | 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.
* build: fix automake warnings about the use of INCLUDESCory Fields2014-08-151-7/+4
| | | | | | | | | | | 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 <[email protected]> Rebased-From: 909b347 c0e5dda
* build: check for sys/prctl.h in the proper wayWladimir J. van der Laan2014-08-121-1/+1
| | | | | Use AC_CHECK_HEADERS to check for the header, and include it only if detected and the subsequent HAVE_SYS_PRCTL_H is set.
* build: fix FDELT_TYPE configure checkCory Fields2014-08-081-1/+4
| | | | | This probably never worked properly. Confirmed working now with every compiler I throw at it.
* build: silence mingw fpic warning spewCory Fields2014-08-061-2/+2
|
* build: don't let libtool insert rpath into binariesCory Fields2014-08-061-0/+11
|
* build: fix broken boost chrono check on some platformsCory Fields2014-07-221-5/+4
| | | | | | | | | | | | | 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.
* build: fix whitespace in pkg-config variableCory Fields2014-07-171-1/+1
| | | | Useful for PKG_CONFIG="pkg-config --static"
* build: allow linux and osx to build against static qt5Cory Fields2014-07-171-0/+3
| | | | | | | | | | | | | 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.
* build: fix win32 static linking after libtool mergeCory Fields2014-07-081-1/+5
| | | | | Libtool eats the -static flag rather than passing it along to the compiler. To get the same effect, -all-static is used instead.
* Merge pull request #4421Wladimir J. van der Laan2014-07-041-0/+2
|\ | | | | | | caf6150 Use async name resolving to improve net thread responsiveness (Huang Le)
| * Use async name resolving to improve net thread responsivenessHuang Le2014-06-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | secp256k1: Add build-side changes for libsecp256k1Cory Fields2014-07-011-0/+1
| | | | | | | | | | | | 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.
* | secp256k1: add libtool as a dependencyCory Fields2014-07-011-0/+1
|/
* crypto: explicitly check for byte read/write functionsCory Fields2014-06-211-1/+6
| | | | Don't depend on hard-coded platform lists
* build: move bitcoin-config.h to its own directoryCory Fields2014-06-211-1/+1
| | | | This allows us to include its path without making other header includes valid.
* sanity: autoconf check for sys/select.hCory Fields2014-06-161-1/+1
|
* build: Switch to non-recursive makeCory Fields2014-06-051-1/+4
| | | | | | | | | 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.
* Replace non-threadsafe strerrorWladimir J. van der Laan2014-05-231-0/+2
| | | | | | | 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.
* Remove build-time no-IPv6 settingWladimir J. van der Laan2014-05-011-45/+0
| | | | | | | | | | | 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...)
* build: add an option for enabling glibc back-compatCory Fields2014-04-101-0/+22
| | | | | Using "./configure --enable-glibc-back-compat" will attempt to be compatible with a target running glibc abi 2.9 and libstdc++ abi 3.4.
* build: hook up "make deploy" for cross osx buildsCory Fields2014-03-201-0/+1
|
* build: if cross-compiling for an apple host, locate some additional toolsCory Fields2014-03-201-0/+13
| | | | | This should be safe to do for native builds too, but for now it's specific to cross-builds to avoid possible regressions.
* Merge pull request #3833Wladimir J. van der Laan2014-03-101-0/+17
|\ | | | | | | f5f157b add --enable-debug for configure (daniel)
| * add --enable-debug for configuredaniel2014-03-101-0/+17
| |
* | build: Version bump to 0.9.99, disable IS_RELEASEWladimir J. van der Laan2014-03-041-2/+2
|/ | | | | `master` is not a release. Use the same convention as before and label these intermediate builds as x.x.99.
* -Wl,-z,relro and -z,now were wiping out environmental LDFLAGS passed in by ↵Midnight Magic2014-02-051-2/+2
| | | | | | the user. I moved them to HARDENING_* where they belong.
* Bump version numbers for 0.9.0rc1 releaseWladimir J. van der Laan2014-01-291-3/+3
|
* Typesafe strprintf/error/LogPrint functionsWladimir J. van der Laan2014-01-231-1/+1
| | | | | | | Switch to tinyformat-based formatting. Tinyformat is a typesafe drop-in replacement for C99 printf functions: https://github.com/c42f/tinyformat
* Merge pull request #3560Wladimir J. van der Laan2014-01-231-1/+7
|\ | | | | | | | | | | | | | | 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)
| * build: Change package name to Bitcoin CoreWladimir J. van der Laan2014-01-211-1/+1
| | | | | | | | | | | | | | Affects the name of the package as shown in installers and such. Also rebrand the windows installer.
| * Adapt Windows installer for 64 bitWladimir J. van der Laan2014-01-211-0/+6
| |
* | build: Add -static for mingw buildsWladimir J. van der Laan2014-01-221-0/+1
| | | | | | | | | | This avoids a dependency on libssp-0.dll when built with -fstack-protector-all.
* | enable full GCC Stack-smashing protection for all OSesPhilip Kaufmann2014-01-221-4/+1
|/ | | | | | | | - 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
* configure: Minor grammatical changes to be more clearLuke Dashjr2014-01-181-20/+24
|
* configure: Change --with[out]-qt to --with[out]-gui and add --with[out]-cli ↵Luke Dashjr2014-01-181-3/+17
| | | | and --with[out]-daemon to support more build configurations
* Bugfix: Correct captitalisation of QtLuke Dashjr2014-01-181-1/+1
|
* configure: Internal changes to make building bitcoind and bitcoin-cli optionalLuke Dashjr2014-01-181-0/+10
|
* Cleanup LevelDB library dependenciesLuke Dashjr2014-01-181-0/+8
|
* Bugfix: Undefine _FORTIFY_SOURCE before redefining it, to avoid warnings on ↵Luke Dashjr2014-01-181-1/+6
| | | | compilers that define it by default
* Bugfix: configure: Allow user-provided CXXFLAGS to override default ↵Luke Dashjr2014-01-181-2/+12
| | | | optimisation, debug, and warning flags
* Merge pull request #3545Wladimir J. van der Laan2014-01-181-2/+27
|\ | | | | | | | | | | | | | | | | 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)
| * build: Pass BOOST_CPPFLAGS to sleep implementation testWladimir J. van der Laan2014-01-161-0/+6
| | | | | | | | | | Makes sure that `-pthread` and other flags required for boost compilation are passed.