@@ -170,6 +170,10 @@ AC_ARG_ENABLE(module_schnorrsig,
170
170
AS_HELP_STRING ( [ --enable-module-schnorrsig] ,[ enable schnorrsig module [ default=no] ] ) , [ ] ,
171
171
[ SECP_SET_DEFAULT([ enable_module_schnorrsig] , [ no] , [ yes] )] )
172
172
173
+ AC_ARG_ENABLE ( module_batch ,
174
+ AS_HELP_STRING ( [ --enable-module-batch] ,[ enable batch verification module (experimental) [ default=no] ] ) , [ ] ,
175
+ [ SECP_SET_DEFAULT([ enable_module_batch] , [ no] , [ yes] )] )
176
+
173
177
AC_ARG_ENABLE ( external_default_callbacks ,
174
178
AS_HELP_STRING ( [ --enable-external-default-callbacks] ,[ enable external default callback functions [ default=no] ] ) , [ ] ,
175
179
[ SECP_SET_DEFAULT([ enable_external_default_callbacks] , [ no] , [ no] )] )
@@ -368,6 +372,10 @@ if test x"$enable_module_extrakeys" = x"yes"; then
368
372
AC_DEFINE ( ENABLE_MODULE_EXTRAKEYS , 1 , [ Define this symbol to enable the extrakeys module] )
369
373
fi
370
374
375
+ if test x"$enable_module_batch" = x"yes"; then
376
+ AC_DEFINE ( ENABLE_MODULE_BATCH , 1 , [ Define this symbol to enable the batch verification module] )
377
+ fi
378
+
371
379
if test x"$enable_external_default_callbacks" = x"yes"; then
372
380
AC_DEFINE ( USE_EXTERNAL_DEFAULT_CALLBACKS , 1 , [ Define this symbol if an external implementation of the default callbacks is used] )
373
381
fi
@@ -380,11 +388,15 @@ if test x"$enable_experimental" = x"yes"; then
380
388
AC_MSG_NOTICE ( [ ******] )
381
389
AC_MSG_NOTICE ( [ WARNING: experimental build] )
382
390
AC_MSG_NOTICE ( [ Experimental features do not have stable APIs or properties, and may not be safe for production use.] )
391
+ AC_MSG_NOTICE ( [ Building batch verification module: $enable_module_batch] )
383
392
AC_MSG_NOTICE ( [ ******] )
384
393
else
385
394
if test x"$set_asm" = x"arm"; then
386
395
AC_MSG_ERROR ( [ ARM assembly optimization is experimental. Use --enable-experimental to allow.] )
387
396
fi
397
+ if test x"$enable_module_batch" = x"yes"; then
398
+ AC_MSG_ERROR ( [ batch verification module is experimental. Use --enable-experimental to allow.] )
399
+ fi
388
400
fi
389
401
390
402
# ##
@@ -407,6 +419,7 @@ AM_CONDITIONAL([ENABLE_MODULE_ECDH], [test x"$enable_module_ecdh" = x"yes"])
407
419
AM_CONDITIONAL([ ENABLE_MODULE_RECOVERY] , [ test x"$enable_module_recovery" = x"yes"] )
408
420
AM_CONDITIONAL([ ENABLE_MODULE_EXTRAKEYS] , [ test x"$enable_module_extrakeys" = x"yes"] )
409
421
AM_CONDITIONAL([ ENABLE_MODULE_SCHNORRSIG] , [ test x"$enable_module_schnorrsig" = x"yes"] )
422
+ AM_CONDITIONAL([ ENABLE_MODULE_BATCH] , [ test x"$enable_module_batch" = x"yes"] )
410
423
AM_CONDITIONAL([ USE_EXTERNAL_ASM] , [ test x"$enable_external_asm" = x"yes"] )
411
424
AM_CONDITIONAL([ USE_ASM_ARM] , [ test x"$set_asm" = x"arm"] )
412
425
AM_CONDITIONAL([ BUILD_WINDOWS] , [ test "$build_windows" = "yes"] )
@@ -427,6 +440,7 @@ echo " module ecdh = $enable_module_ecdh"
427
440
echo " module recovery = $enable_module_recovery"
428
441
echo " module extrakeys = $enable_module_extrakeys"
429
442
echo " module schnorrsig = $enable_module_schnorrsig"
443
+ echo " module batch = $enable_module_batch"
430
444
echo
431
445
echo " asm = $set_asm"
432
446
echo " ecmult window size = $set_ecmult_window"
0 commit comments