Added configure scripts. #2195

pull CodeShark wants to merge 1 commits into bitcoin:master from CodeShark:configure_script changing 3 files +1017 −0
  1. CodeShark commented at 6:05 AM on January 22, 2013: contributor

    Basic dependency detection and assistance to user in installing missing dependencies. Automatic switch for USE_UPNP in makefile.

  2. 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

  3. 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.

  4. 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.

  5. 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.


    CodeShark commented at 6:32 AM on January 27, 2013:

    @luke-jr: Also note that on most configurations of Ubuntu and Debian, db.h and db_cxx.h are simply in /usr/include. The actual version numbers are not determined by the directory search - they are pulled out of the headers themselves.

  6. CodeShark commented at 6:05 AM on January 27, 2013: contributor

    @luke-jr: I added instructions for Ubuntu Precise users on how to install db4.8 using the steps you gave earlier.

  7. Added configure scripts. 4c92791df5
  8. BitcoinPullTester commented at 6:44 AM on January 27, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/4c92791df5c96128e03834a8a1a52c07c2164cf5 for binaries and test log.

  9. gavinandresen commented at 7:58 PM on May 2, 2013: contributor

    bitcoin-qt.pro.temp is out of date (missing some changes to bitcoin-qt.pro). And should be named bitcoin-qt.pro.template.

  10. jgarzik commented at 6:52 PM on June 19, 2013: contributor

    Closing, as an autotools effort is actively underway and preferred.

    Can reopen, if that effort fails or stalls insurmountably.

  11. jgarzik closed this on Jun 19, 2013

  12. sidhujag referenced this in commit 81e0b65520 on Jul 31, 2018
  13. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

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

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me