configure: Add hidden --enable-dev-mode to enable all the stuff #1079

pull real-or-random wants to merge 3 commits into bitcoin-core:master from real-or-random:202202-dev-mode changing 2 files +53 −46
  1. real-or-random commented at 8:31 PM on February 23, 2022: contributor

    Rework of #975, which I'm taking over with the permission of @elichai.

    See commit messages for some more rationale.

  2. configure: Use canonical variable prefix _enable consistently 0d4226c051
  3. configure: Remove redundant code that sets _enable variables
    These are set automatically by autoconf [1], and this has been the
    case in at least since 2.60, which is our minimum supported version.
    
    [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Package-Options.html
    [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Package-Options.html
    fabd579dfa
  4. real-or-random commented at 8:33 PM on February 23, 2022: contributor

    I was wondering whether we should disable the benchmarks by default. I think normal users won't need them and I suspect these were more interesting in the early days of the library.

  5. real-or-random force-pushed on Feb 23, 2022
  6. sipa commented at 9:20 PM on February 23, 2022: contributor

    The benchmarks were actually disabled at some point by default, which led to a lot of wasted time for me because I forgot to compile benchmarks, and then ended up running with an old bench binary...

  7. in build-aux/m4/bitcoin_secp.m4:47 in ca1b6e3659 outdated
      42 | +dnl SECP_SET_DEFAULT(VAR, default, default-dev-mode)
      43 | +dnl Set VAR to default or default-dev-mode, depending on whether dev mode is enabled
      44 | +AC_DEFUN([SECP_SET_DEFAULT], [
      45 | +  if test "${enable_dev_mode+set}" != set; then
      46 | +    AC_MSG_ERROR([[Set enable_dev_mode before calling SECP_SET_DEFAULT]])
      47 | +  fi 
    


    jonasnick commented at 9:05 PM on February 25, 2022:

    nit: trailing whitespace


    real-or-random commented at 9:30 AM on February 26, 2022:

    fixed

  8. jonasnick commented at 9:07 PM on February 25, 2022: contributor

    ACK mod nit

    This is useful.

  9. configure: Add hidden --enable-dev-mode to enable all the stuff
    Co-authored-by: Elichai Turkel <elichai.turkel@gmail.com>
    e0838d663d
  10. real-or-random force-pushed on Feb 26, 2022
  11. jonasnick commented at 9:49 PM on February 26, 2022: contributor

    ACK e0838d663deba5a9663a0ad02bd7e4c563325c4d

  12. real-or-random commented at 10:58 AM on February 27, 2022: contributor

    @elichai Want to review this?

  13. elichai commented at 12:17 PM on February 27, 2022: contributor

    tACK e0838d663deba5a9663a0ad02bd7e4c563325c4d

    Tested that this is actually hidden, that it enables all the modules as expected, and that it supports disabling specific modules

  14. jonasnick merged this on Feb 27, 2022
  15. jonasnick closed this on Feb 27, 2022

  16. fanquake referenced this in commit 8f8631d826 on Mar 17, 2022
  17. fanquake referenced this in commit 4bb1d7e62a on Mar 17, 2022
  18. fanquake referenced this in commit 4ef6189f8c on Mar 25, 2022
  19. fanquake referenced this in commit 465d05253a on Mar 30, 2022
  20. real-or-random referenced this in commit 6c0aecf72b on Apr 1, 2022
  21. fanquake referenced this in commit afb7a6fe06 on Apr 6, 2022
  22. gwillen referenced this in commit 35d6112a72 on May 25, 2022
  23. patricklodder referenced this in commit 21badcf9d2 on Jul 25, 2022
  24. patricklodder referenced this in commit 03002a9013 on Jul 28, 2022
  25. janus referenced this in commit 3a0652a777 on Aug 4, 2022
  26. str4d referenced this in commit 522190d5c3 on Apr 21, 2023
  27. vmta referenced this in commit e1120c94a1 on Jun 4, 2023
  28. vmta referenced this in commit 8f03457eed on Jul 1, 2023
  29. Fabcien referenced this in commit d181a041c8 on Jan 30, 2026
  30. Fabcien referenced this in commit c6d59af532 on Jan 30, 2026
  31. Fabcien referenced this in commit 8f5a534b5f on Jan 30, 2026
  32. Fabcien referenced this in commit ea10f1ecbe on Jan 30, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:52 UTC