@@ -156,6 +156,10 @@ AC_ARG_ENABLE(module_schnorrsig,
156
156
AS_HELP_STRING ( [ --enable-module-schnorrsig] ,[ enable schnorrsig module [ default=no] ] ) , [ ] ,
157
157
[ SECP_SET_DEFAULT([ enable_module_schnorrsig] , [ no] , [ yes] )] )
158
158
159
+ AC_ARG_ENABLE ( module_batch ,
160
+ AS_HELP_STRING ( [ --enable-module-batch] ,[ enable batch verification module (experimental) [ default=no] ] ) , [ ] ,
161
+ [ SECP_SET_DEFAULT([ enable_module_batch] , [ no] , [ yes] )] )
162
+
159
163
AC_ARG_ENABLE ( external_default_callbacks ,
160
164
AS_HELP_STRING ( [ --enable-external-default-callbacks] ,[ enable external default callback functions [ default=no] ] ) , [ ] ,
161
165
[ SECP_SET_DEFAULT([ enable_external_default_callbacks] , [ no] , [ no] )] )
@@ -352,6 +356,10 @@ if test x"$enable_module_extrakeys" = x"yes"; then
352
356
AC_DEFINE ( ENABLE_MODULE_EXTRAKEYS , 1 , [ Define this symbol to enable the extrakeys module] )
353
357
fi
354
358
359
+ if test x"$enable_module_batch" = x"yes"; then
360
+ AC_DEFINE ( ENABLE_MODULE_BATCH , 1 , [ Define this symbol to enable the batch verification module] )
361
+ fi
362
+
355
363
if test x"$enable_external_default_callbacks" = x"yes"; then
356
364
AC_DEFINE ( USE_EXTERNAL_DEFAULT_CALLBACKS , 1 , [ Define this symbol if an external implementation of the default callbacks is used] )
357
365
fi
@@ -364,11 +372,15 @@ if test x"$enable_experimental" = x"yes"; then
364
372
AC_MSG_NOTICE ( [ ******] )
365
373
AC_MSG_NOTICE ( [ WARNING: experimental build] )
366
374
AC_MSG_NOTICE ( [ Experimental features do not have stable APIs or properties, and may not be safe for production use.] )
375
+ AC_MSG_NOTICE ( [ Building batch verification module: $enable_module_batch] )
367
376
AC_MSG_NOTICE ( [ ******] )
368
377
else
369
378
if test x"$set_asm" = x"arm"; then
370
379
AC_MSG_ERROR ( [ ARM assembly optimization is experimental. Use --enable-experimental to allow.] )
371
380
fi
381
+ if test x"$enable_module_batch" = x"yes"; then
382
+ AC_MSG_ERROR ( [ batch verification module is experimental. Use --enable-experimental to allow.] )
383
+ fi
372
384
fi
373
385
374
386
# ##
@@ -391,6 +403,7 @@ AM_CONDITIONAL([ENABLE_MODULE_ECDH], [test x"$enable_module_ecdh" = x"yes"])
391
403
AM_CONDITIONAL([ ENABLE_MODULE_RECOVERY] , [ test x"$enable_module_recovery" = x"yes"] )
392
404
AM_CONDITIONAL([ ENABLE_MODULE_EXTRAKEYS] , [ test x"$enable_module_extrakeys" = x"yes"] )
393
405
AM_CONDITIONAL([ ENABLE_MODULE_SCHNORRSIG] , [ test x"$enable_module_schnorrsig" = x"yes"] )
406
+ AM_CONDITIONAL([ ENABLE_MODULE_BATCH] , [ test x"$enable_module_batch" = x"yes"] )
394
407
AM_CONDITIONAL([ USE_EXTERNAL_ASM] , [ test x"$enable_external_asm" = x"yes"] )
395
408
AM_CONDITIONAL([ USE_ASM_ARM] , [ test x"$set_asm" = x"arm"] )
396
409
AM_CONDITIONAL([ BUILD_WINDOWS] , [ test "$build_windows" = "yes"] )
@@ -411,6 +424,7 @@ echo " module ecdh = $enable_module_ecdh"
411
424
echo " module recovery = $enable_module_recovery"
412
425
echo " module extrakeys = $enable_module_extrakeys"
413
426
echo " module schnorrsig = $enable_module_schnorrsig"
427
+ echo " module batch = $enable_module_batch"
414
428
echo
415
429
echo " asm = $set_asm"
416
430
echo " ecmult window size = $set_ecmult_window"
0 commit comments