Skip to content

Commit d9d94a9

Browse files
committed
doc: mention optional modules in README
1 parent d0ad581 commit d9d94a9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,15 @@ libsecp256k1 is built using autotools:
6868
$ make check # run the test suite
6969
$ sudo make install # optional
7070

71+
To compile optional modules (such as Schnorr signatures), you need to run `./configure` with additional flags (such as `--enable-module-schnorrsig`). Run `./configure --help` to see the full list of available flags.
72+
7173
Usage examples
7274
-----------
7375
Usage examples can be found in the [examples](examples) directory. To compile them you need to configure with `--enable-examples`.
7476
* [ECDSA example](examples/ecdsa.c)
75-
* [Schnorr Signatures example](examples/schnorr.c)
76-
* [Deriving a shared secret(ECDH) example](examples/ecdh.c)
77+
* [Schnorr signatures example](examples/schnorr.c)
78+
* [Deriving a shared secret (ECDH) example](examples/ecdh.c)
79+
To compile the Schnorr signature and ECDH examples, you also need to configure with `--enable-module-schnorrsig` and `--enable-module-ecdh`.
7780

7881
Test coverage
7982
-----------

0 commit comments

Comments
 (0)