-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Drop src/libsecp256k1-config.h
#1178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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 <[email protected]>
e129a39
to
ad8647f
Compare
Not sure about this secp256k1/build-aux/m4/bitcoin_secp.m4 Line 23 in 9a8d65f
|
I suggest removing it, it's unused, and also confusing because we use the |
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 9c5a4d2
utACK 9c5a4d2 |
@@ -148,7 +148,7 @@ endif | |||
if USE_EXAMPLES | |||
noinst_PROGRAMS += ecdsa_example | |||
ecdsa_example_SOURCES = examples/ecdsa.c | |||
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include | |||
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these be dropped for the example, because a user application shouldn't need our defines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1185.
Cherry-picked the first commit from #1142 and addressed a comment.