@@ -104,6 +104,11 @@ AC_ARG_ENABLE(experimental,
104
104
[ use_experimental=$enableval] ,
105
105
[ use_experimental=no] )
106
106
107
+ AC_ARG_ENABLE ( exhaustive_tests ,
108
+ AS_HELP_STRING ( [ --enable-exhaustive-tests] ,[ compile exhaustive tests (default is yes)] ) ,
109
+ [ use_exhaustive_tests=$enableval] ,
110
+ [ use_exhaustive_tests=yes] )
111
+
107
112
AC_ARG_ENABLE ( endomorphism ,
108
113
AS_HELP_STRING ( [ --enable-endomorphism] ,[ enable endomorphism (default is no)] ) ,
109
114
[ use_endomorphism=$enableval] ,
@@ -119,11 +124,6 @@ AC_ARG_ENABLE(module_ecdh,
119
124
[ enable_module_ecdh=$enableval] ,
120
125
[ enable_module_ecdh=no] )
121
126
122
- AC_ARG_ENABLE ( module_schnorr ,
123
- AS_HELP_STRING ( [ --enable-module-schnorr] ,[ enable Schnorr signature module (experimental)] ) ,
124
- [ enable_module_schnorr=$enableval] ,
125
- [ enable_module_schnorr=no] )
126
-
127
127
AC_ARG_ENABLE ( module_recovery ,
128
128
AS_HELP_STRING ( [ --enable-module-recovery] ,[ enable ECDSA pubkey recovery module (default is no)] ) ,
129
129
[ enable_module_recovery=$enableval] ,
381
381
if test x"$use_jni" != x"no"; then
382
382
AX_JNI_INCLUDE_DIR
383
383
have_jni_dependencies=yes
384
- if test x"$enable_module_schnorr" = x"no"; then
385
- have_jni_dependencies=no
386
- fi
387
384
if test x"$enable_module_ecdh" = x"no"; then
388
385
have_jni_dependencies=no
389
386
fi
@@ -392,7 +389,7 @@ if test x"$use_jni" != x"no"; then
392
389
fi
393
390
if test "x$have_jni_dependencies" = "xno"; then
394
391
if test x"$use_jni" = x"yes"; then
395
- AC_MSG_ERROR ( [ jni support explicitly requested but headers/dependencies were not found. Enable ECDH and Schnorr and try again.] )
392
+ AC_MSG_ERROR ( [ jni support explicitly requested but headers/dependencies were not found. Enable ECDH and try again.] )
396
393
fi
397
394
AC_MSG_WARN ( [ jni headers/dependencies not found. jni support disabled] )
398
395
use_jni=no
@@ -413,18 +410,14 @@ if test x"$use_endomorphism" = x"yes"; then
413
410
AC_DEFINE ( USE_ENDOMORPHISM , 1 , [ Define this symbol to use endomorphism optimization] )
414
411
fi
415
412
416
- if test x"$use_ecmult_static_precomputation " = x"yes"; then
413
+ if test x"$set_precomp " = x"yes"; then
417
414
AC_DEFINE ( USE_ECMULT_STATIC_PRECOMPUTATION , 1 , [ Define this symbol to use a statically generated ecmult table] )
418
415
fi
419
416
420
417
if test x"$enable_module_ecdh" = x"yes"; then
421
418
AC_DEFINE ( ENABLE_MODULE_ECDH , 1 , [ Define this symbol to enable the ECDH module] )
422
419
fi
423
420
424
- if test x"$enable_module_schnorr" = x"yes"; then
425
- AC_DEFINE ( ENABLE_MODULE_SCHNORR , 1 , [ Define this symbol to enable the Schnorr signature module] )
426
- fi
427
-
428
421
if test x"$enable_module_recovery" = x"yes"; then
429
422
AC_DEFINE ( ENABLE_MODULE_RECOVERY , 1 , [ Define this symbol to enable the ECDSA pubkey recovery module] )
430
423
fi
@@ -442,7 +435,6 @@ AC_MSG_NOTICE([Using bignum implementation: $set_bignum])
442
435
AC_MSG_NOTICE ( [ Using scalar implementation: $set_scalar] )
443
436
AC_MSG_NOTICE ( [ Using endomorphism optimizations: $use_endomorphism] )
444
437
AC_MSG_NOTICE ( [ Building ECDH module: $enable_module_ecdh] )
445
- AC_MSG_NOTICE ( [ Building Schnorr signatures module: $enable_module_schnorr] )
446
438
AC_MSG_NOTICE ( [ Building ECDSA pubkey recovery module: $enable_module_recovery] )
447
439
AC_MSG_NOTICE ( [ Using jni: $use_jni] )
448
440
@@ -451,12 +443,8 @@ if test x"$enable_experimental" = x"yes"; then
451
443
AC_MSG_NOTICE ( [ WARNING: experimental build] )
452
444
AC_MSG_NOTICE ( [ Experimental features do not have stable APIs or properties, and may not be safe for production use.] )
453
445
AC_MSG_NOTICE ( [ Building ECDH module: $enable_module_ecdh] )
454
- AC_MSG_NOTICE ( [ Building Schnorr signatures module: $enable_module_schnorr] )
455
446
AC_MSG_NOTICE ( [ ******] )
456
447
else
457
- if test x"$enable_module_schnorr" = x"yes"; then
458
- AC_MSG_ERROR ( [ Schnorr signature module is experimental. Use --enable-experimental to allow.] )
459
- fi
460
448
if test x"$enable_module_ecdh" = x"yes"; then
461
449
AC_MSG_ERROR ( [ ECDH module is experimental. Use --enable-experimental to allow.] )
462
450
fi
@@ -473,10 +461,10 @@ AC_SUBST(SECP_LIBS)
473
461
AC_SUBST ( SECP_TEST_LIBS )
474
462
AC_SUBST ( SECP_TEST_INCLUDES )
475
463
AM_CONDITIONAL([ USE_TESTS] , [ test x"$use_tests" != x"no"] )
464
+ AM_CONDITIONAL([ USE_EXHAUSTIVE_TESTS] , [ test x"$use_exhaustive_tests" != x"no"] )
476
465
AM_CONDITIONAL([ USE_BENCHMARK] , [ test x"$use_benchmark" = x"yes"] )
477
- AM_CONDITIONAL([ USE_ECMULT_STATIC_PRECOMPUTATION] , [ test x"$use_ecmult_static_precomputation " = x"yes"] )
466
+ AM_CONDITIONAL([ USE_ECMULT_STATIC_PRECOMPUTATION] , [ test x"$set_precomp " = x"yes"] )
478
467
AM_CONDITIONAL([ ENABLE_MODULE_ECDH] , [ test x"$enable_module_ecdh" = x"yes"] )
479
- AM_CONDITIONAL([ ENABLE_MODULE_SCHNORR] , [ test x"$enable_module_schnorr" = x"yes"] )
480
468
AM_CONDITIONAL([ ENABLE_MODULE_RECOVERY] , [ test x"$enable_module_recovery" = x"yes"] )
481
469
AM_CONDITIONAL([ USE_JNI] , [ test x"$use_jni" == x"yes"] )
482
470
AM_CONDITIONAL([ USE_EXTERNAL_ASM] , [ test x"$use_external_asm" = x"yes"] )
0 commit comments