aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2014-12-11Now that 0.10 has been branched, master is 0.10.99Wladimir J. van der Laan
2014-11-30Add /opt/local/include/db48 only if it exists.Pavel Janík
2014-11-26Merge pull request #5370Wladimir J. van der Laan
b7f2cdc build: disable static lib stripping during osx make install-strip (Cory Fields)
2014-11-25build: disable static lib stripping during osx make install-stripCory Fields
2014-11-24Check for strnlen and provide it if it is not found.Pavel Janík
2014-11-19build: pad header for osx libsCory Fields
This ensures that users of the lib will be able to mangle the paths to work in their bundles.
2014-11-19build: fix static dll link for mingwCory Fields
dll's are no longer dynamically linked to libgcc/libstdc++/libssp
2014-11-19build: shared lib build should work reasonably well nowCory Fields
2014-11-19build: add --with-libs so that libs are optionalCory Fields
2014-11-19build: check visibility attributesCory Fields
2014-11-19build: mingw needs libssp for hardening with dllsCory Fields
2014-11-19build: make a distinction between static app ldflags and static lib ldflagsCory Fields
For windows builds, exe's are always static, but libs should still conform to --enabled-shared and --enable-static.
2014-11-18revert part of 9eda1620bCory Fields
This probably would've broken native OSX builds
2014-11-18build: fixup configure to not export anythingCory Fields
2014-11-18Don't use bashisms in configurePieter Wuille
2014-11-18Always build and link libsecp256k1Pieter Wuille
2014-11-06Rearrange initial config checks: AC, AM, compiler, libtool.kiwigb
Removed some repeated and unused prog checks.
2014-10-31tests: replace the old (unused since Travis) tests with new rpc test scriptsCory Fields
2014-10-14build: fix libtool's refusal to link static libs into a dllCory Fields
2014-10-13build: quit abusing LIBS for Windows builds.Cory Fields
Similar to the INCLUDES changes in 6b099402b40, split out LIBS into individual entries for more fine-grained control. Also add MINIUPNPC_LIBS which was missing before, and hook it up to executables.
2014-10-10build: fix dynamic boost check when --with-boost= is usedCory Fields
2014-10-07Merge pull request #5053Wladimir J. van der Laan
27368e7 Homebrew lang fix (Dominyk Tiller)
2014-10-06Homebrew lang fixDominyk Tiller
Very small tweak to correct the language on Homebrew's sandboxing process. Discussed in [this commit](https://github.com/bitcoin/bitcoin/commit/9fedafba4b903d7f3af044eb86dc313856e40b08).
2014-10-03Bugfix: Replace bashisms with standard sh to fix build on non-BASH systemsLuke Dashjr
2014-10-01build: Fix OSX build when using Homebrew and qt5Cory Fields
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.
2014-09-30tests: fix python test-runner for windowsCory Fields
Windows needed a few fixups to get the tests running: 1. bitcoin-tx needs a file extension in Windows. Take this opportunity to add an env file, which pulls variables out of our build config. This can be extended as needed, for now it's very simple. 2. After #1, split the args out of the exec key in the test data. 3. Correct the line-endings from windows stdout
2014-09-16Update obsolete AC macros.randy-waterhouse
2014-09-16Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR.randy-waterhouse
2014-09-16Create the common location for all m4 autotool build scripts, build-aux/m4.randy-waterhouse
Update .gitignore.
2014-09-01Merge pull request #4767Wladimir J. van der Laan
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)
2014-08-29build: Remove message about Ubuntu 13.10 when no boost sleep implementation ↵Wladimir J. van der Laan
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.
2014-08-26build: add -DMINIUPNP_STATICLIB for new versionCory Fields
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.
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>