Cory Fields
1f46b006b7
build: fix __builtin_expect detection for clang
...
Using AC_CHECK_DECL, the generated test tries to cast the function to void.
Clang doesn't allow that for builtins.
2014-12-08 22:35:02 -05:00
Pieter Wuille
c88e2b8cca
Compile with -O3 by default
2014-12-09 01:30:43 +01:00
Pieter Wuille
67935050e1
Convert YASM code into inline assembly
2014-12-04 13:54:01 +01:00
Pieter Wuille
c35ff1ea44
Convert lambda splitter to pure scalar code.
...
This enables the use of the endomorphism optimization without bignum.
2014-12-02 16:50:00 +01:00
Pieter Wuille
597128d389
Make num optional
2014-12-01 12:38:38 +01:00
Pieter Wuille
d1502eb459
Add secp256k1_scalar_inverse_var which delegates to GMP
2014-11-30 23:38:01 +01:00
Cory Fields
e2274c58e6
build: osx: attempt to work with homebrew keg-only packages
2014-11-24 11:49:22 -05:00
Gregory Maxwell
a099073a7e
Enable warnings.
...
Wno-unused-function is used for the moment because of the checking
functions which are currently only used by VERIFY but are not (yet?)
ifdefed out in normal builds.
2014-11-13 01:45:57 -08:00
kiwigb
6fac238f03
Use same build template as bitcoin. Add bitcoin_secp.m4.
2014-11-07 01:55:27 +13:00
kiwigb
db72c181bb
Add autoreconf warnings. Replace obsolete AC_TRY_COMPILE.
...
Remove redundant checks (already done by LT_INIT).
2014-11-06 22:20:05 +13:00
Pieter Wuille
1d52a8b155
Implementations for scalar without data-dependent branches.
2014-11-04 03:01:55 -08:00
Cory Fields
53628757f3
warnings: enable quiet builds
2014-11-03 23:29:24 -08:00
Pieter Wuille
520ba3c921
Remove OpenSSL bignum implementation
2014-10-31 02:10:13 -07:00
Pieter Wuille
3ed6dfae69
Only use the libcrypto part of OpenSSL
2014-09-01 19:45:51 +02:00
Pieter Wuille
1c7fa133a6
Add VERIFY_CHECK/DEBUG_CHECK and use CHECK macros more
2014-08-26 01:23:51 +02:00
Cory Fields
3ab1178d54
build: grab full paths to host tools
...
This ensures that make will work even if PATH has changed, which is often the
case when cross-compiling.
Fixes cross-compiled builds when integrated into Bitcoin's repo.
2014-07-24 17:20:02 -04:00
Pieter Wuille
728554dfae
Merge pull request #18
...
4212f7d
packaging: add pkg-config file to gitignore (Cory Fields)
67a4765
packaging: fixup pkg-config (Cory Fields)
81b2fae
packaging: remove the --with-pkgconfigdir option (Cory Fields)
c7ee71f
add pkg-config support (Amir Taaki)
2014-06-03 21:53:58 +02:00
Pieter Wuille
5355746867
Merge pull request #17
...
a86f241
Add MacPorts default include/lib paths for OSX (Peter Dettman)
2014-06-02 10:51:37 +02:00
Peter Dettman
17eec032c8
Support 64bit_asm field on OSX
2014-06-02 15:33:35 +07:00
Cory Fields
81b2faebd4
packaging: remove the --with-pkgconfigdir option
...
It was not necessary and would only confuse packagers.
2014-05-20 20:59:14 -04:00
Amir Taaki
c7ee71f792
add pkg-config support
2014-05-20 20:39:46 -04:00
Peter Dettman
a86f241d08
Add MacPorts default include/lib paths for OSX
2014-05-20 11:39:54 +07:00
Luke Dashjr
282ebc6dbd
Fix build on x32
2014-04-10 13:33:55 +00:00
Cory Fields
6e7a6d479a
autotools: No need to link against libssl
2014-01-24 17:32:59 -05:00
Cory Fields
0e9baf6fde
autotools: changes suggested by Pieter Wuille
2014-01-24 16:57:13 -05:00
Cory Fields
78cd96b151
autotools: autotools'ify libsecp256k1
2014-01-17 23:24:12 -05:00