Skip to content

Commit 4c883dd

Browse files
committed
musig: do not also require schnorrsig module config flag
Also add musig to build options output.
1 parent 3efb75d commit 4c883dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure.ac

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ fi
540540

541541
if test x"$enable_module_musig" = x"yes"; then
542542
AC_DEFINE(ENABLE_MODULE_MUSIG, 1, [Define this symbol to enable the MuSig module])
543+
enable_module_schnorrsig=yes
543544
fi
544545

545546
if test x"$enable_module_recovery" = x"yes"; then
@@ -561,7 +562,8 @@ fi
561562
if test x"$enable_module_surjectionproof" = x"yes"; then
562563
AC_DEFINE(ENABLE_MODULE_SURJECTIONPROOF, 1, [Define this symbol to enable the surjection proof module])
563564
fi
564-
565+
# Test if extrakeys is set _afte_r the MuSig module to allow the MuSig
566+
# module to set enable_module_schnorrsig=yes
565567
if test x"$enable_module_schnorrsig" = x"yes"; then
566568
AC_DEFINE(ENABLE_MODULE_SCHNORRSIG, 1, [Define this symbol to enable the schnorrsig module])
567569
enable_module_extrakeys=yes
@@ -711,6 +713,7 @@ echo " module ecdh = $enable_module_ecdh"
711713
echo " module recovery = $enable_module_recovery"
712714
echo " module extrakeys = $enable_module_extrakeys"
713715
echo " module schnorrsig = $enable_module_schnorrsig"
716+
echo " module musig = $enable_module_musig"
714717
echo " module ecdsa-s2c = $enable_module_ecdsa_s2c"
715718
echo " module ecdsa-adaptor = $enable_module_ecdsa_adaptor"
716719
echo

0 commit comments

Comments
 (0)