Cherry-picked the first commit from #1142 and addressed a comment.
Drop `src/libsecp256k1-config.h` #1178
pull hebasto wants to merge 3 commits into bitcoin-core:master from hebasto:221214-config changing 19 files +26 −91-
hebasto commented at 3:03 PM on December 14, 2022: member
-
in configure.ac:293 in e129a39bf8 outdated
292 | @@ -293,10 +293,10 @@ int128_struct) 293 | AC_DEFINE(USE_FORCE_WIDEMUL_INT128_STRUCT, 1, [Define this symbol to force the use of the structure for simulating (unsigned) int128 based wide multiplication])
real-or-random commented at 6:10 PM on December 14, 2022:This newly added
AC_DEFINEshould be changed, too.
b627ba7050Remove dependency on `src/libsecp256k1-config.h`
This change eases the use of alternate build systems by moving the variables in `src/libsecp256k1-config.h` to compiler macros for each invocation, preventing duplication of these variables for each build system. Co-authored-by: Ali Sherief <ali@notatether.com>
Drop no longer relevant files from `.gitignore` ad8647f548hebasto force-pushed on Dec 15, 2022hebasto commented at 1:12 PM on December 15, 2022: memberNot sure about this
AC_DEFINEmacro https://github.com/bitcoin-core/secp256k1/blob/9a8d65f07f171b07bd7a33828dce073d819fbdef/build-aux/m4/bitcoin_secp.m4#L23real-or-random commented at 5:40 PM on December 15, 2022: contributorNot sure about this
AC_DEFINEmacroI suggest removing it, it's unused, and also confusing because we use the
VALGRINDmacro.Do not define unused `HAVE_VALGRIND` macro 9c5a4d21bbhebasto commented at 8:07 PM on December 15, 2022: memberI suggest removing it, it's unused, and also confusing because we use the
VALGRINDmacro.Done.
real-or-random approvedreal-or-random commented at 10:54 PM on December 15, 2022: contributorutACK 9c5a4d21bbe820173e361211f42d5fee4765944c
sipa commented at 3:42 AM on December 20, 2022: contributorutACK 9c5a4d21bbe820173e361211f42d5fee4765944c
sipa merged this on Dec 20, 2022sipa closed this on Dec 20, 2022hebasto deleted the branch on Dec 20, 2022in Makefile.am:151 in 9c5a4d21bb
147 | @@ -148,7 +148,7 @@ endif 148 | if USE_EXAMPLES 149 | noinst_PROGRAMS += ecdsa_example 150 | ecdsa_example_SOURCES = examples/ecdsa.c 151 | -ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include 152 | +ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
real-or-random commented at 4:35 PM on December 30, 2022:Shouldn't these be dropped for the example, because a user application shouldn't need our defines?
real-or-random referenced this in commit 2a39ac162e on Jan 3, 2023dhruv referenced this in commit 78b5ddf28b on Jan 11, 2023dhruv referenced this in commit 215394a1d5 on Jan 11, 2023dhruv referenced this in commit 6aeec7c530 on Jan 13, 2023dhruv referenced this in commit 863cf15b37 on Jan 13, 2023dhruv referenced this in commit 61f942a096 on Jan 23, 2023sipa referenced this in commit 1bff200588 on Jan 30, 2023dhruv referenced this in commit 4d33046ce3 on Feb 1, 2023dhruv referenced this in commit 55e7f2cf2b on Feb 2, 2023stratospher referenced this in commit 647f63669e on Feb 6, 2023dhruv referenced this in commit a4351c0df6 on Feb 20, 2023stratospher referenced this in commit 23f825fc8b on Feb 21, 2023roconnor-blockstream referenced this in commit 2ed20b8931 on Feb 25, 2023roconnor-blockstream referenced this in commit ddbe949ce4 on Mar 1, 2023roconnor-blockstream referenced this in commit 6583a74aea on Mar 2, 2023hebasto referenced this in commit 7c0cc5d976 on Mar 7, 2023roconnor-blockstream referenced this in commit 50ff8e8ac4 on Mar 7, 2023dhruv referenced this in commit a5df79db12 on Mar 7, 2023dhruv referenced this in commit 77b510d84c on Mar 7, 2023sipa referenced this in commit 763079a3f1 on Mar 8, 2023roconnor-blockstream referenced this in commit 6602db253d on Mar 10, 2023div72 referenced this in commit 945b094575 on Mar 14, 2023vmta referenced this in commit e1120c94a1 on Jun 4, 2023vmta referenced this in commit 8f03457eed on Jul 1, 2023delta1 referenced this in commit 3f32c20932 on Aug 8, 2023delta1 referenced this in commit 31ac0c1081 on Aug 31, 2023janus referenced this in commit 4816e2a921 on Sep 3, 2023backpacker69 referenced this in commit 26f6d832fb on Mar 5, 2024str4d referenced this in commit b350ac56ac on Jun 4, 2025Fabcien referenced this in commit 3c1c7b0091 on Jan 20, 2026Fabcien referenced this in commit 3a8f228f23 on Jan 20, 2026Fabcien referenced this in commit 1ebdd1b6ee on Mar 5, 2026Fabcien referenced this in commit 869d352665 on Mar 5, 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
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