Basic dependency detection and assistance to user in installing missing dependencies. Automatic switch for USE_UPNP in makefile.
Added configure scripts. #2195
pull CodeShark wants to merge 1 commits into bitcoin:master from CodeShark:configure_script changing 3 files +1017 −0-
CodeShark commented at 6:05 AM on January 22, 2013: contributor
-
laanwj commented at 7:42 AM on January 22, 2013: member
Nice, much better than a separate makefile for each platform
Edit: we probably want to add mingw32 (crosscompile) to this as well
-
BitcoinPullTester commented at 2:30 AM on January 24, 2013: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/cb23ca73567011551b09326e616e869826128fd7 for binaries and test log.
-
in configure:None in cb23ca7356 outdated
49 | + esac 50 | +} 51 | + 52 | +# TODO: Make the check granular down to distro and version 53 | +function check_system { 54 | + [ "$MACHINE" ] || MACHINE=`(uname -m) 2>/dev/null` || MACHINE="unknown"
luke-jr commented at 2:34 AM on January 27, 2013:This is not correct. uname -m gives the kernel architecture, not the OS architecture (which can be different in some scenarios).
CodeShark commented at 5:57 AM on January 27, 2013:uname -m isn't being used to determine the OS version. In fact, it's not being used at all right now. And it doesn't give the kernel version - it gives the architecture. This might be useful at some point if we want to have switches specific to i386 vs x64_64.
luke-jr commented at 6:10 AM on January 27, 2013:Yes, I meant architecture. Kernel arch != OS arch.
in configure:None in cb23ca7356 outdated
171 | + return 0 172 | +} 173 | + 174 | +function check_bdb_dir { 175 | + # try each version starting with the most recent 176 | + BDB_DIRS=(db51 db5.1 db50 db5.0 db49 db4.9 db48 db4.8 db47 db4.7 db46 db4.6)
luke-jr commented at 2:34 AM on January 27, 2013:Only db4.8 should be used unless the user passes --force-bdb-version or something.
CodeShark commented at 5:59 AM on January 27, 2013:This search is only for the BDB include and lib paths. It assumes that the most recent BDB version on their system will be the one that will be linked to (it is unlikely they will have more than one version of BDB installed). If the most recent version they have is prior to 4.8 they get an error - if they have any version post 4.8 they get a warning.
Added configure scripts. 4c92791df5BitcoinPullTester commented at 6:44 AM on January 27, 2013: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/4c92791df5c96128e03834a8a1a52c07c2164cf5 for binaries and test log.
gavinandresen commented at 7:58 PM on May 2, 2013: contributorbitcoin-qt.pro.temp is out of date (missing some changes to bitcoin-qt.pro). And should be named bitcoin-qt.pro.template.
jgarzik commented at 6:52 PM on June 19, 2013: contributorClosing, as an autotools effort is actively underway and preferred.
Can reopen, if that effort fails or stalls insurmountably.
jgarzik closed this on Jun 19, 2013sidhujag referenced this in commit 81e0b65520 on Jul 31, 2018DrahtBot locked this on Sep 8, 2021
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:16 UTC
More mirrored repositories can be found on mirror.b10c.me