@@ -119,11 +119,6 @@ AC_ARG_ENABLE(module_ecdh,
119
119
[ enable_module_ecdh=$enableval] ,
120
120
[ enable_module_ecdh=no] )
121
121
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
122
AC_ARG_ENABLE ( module_recovery ,
128
123
AS_HELP_STRING ( [ --enable-module-recovery] ,[ enable ECDSA pubkey recovery module (default is no)] ) ,
129
124
[ enable_module_recovery=$enableval] ,
381
376
if test x"$use_jni" != x"no"; then
382
377
AX_JNI_INCLUDE_DIR
383
378
have_jni_dependencies=yes
384
- if test x"$enable_module_schnorr" = x"no"; then
385
- have_jni_dependencies=no
386
- fi
387
379
if test x"$enable_module_ecdh" = x"no"; then
388
380
have_jni_dependencies=no
389
381
fi
@@ -392,7 +384,7 @@ if test x"$use_jni" != x"no"; then
392
384
fi
393
385
if test "x$have_jni_dependencies" = "xno"; then
394
386
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.] )
387
+ AC_MSG_ERROR ( [ jni support explicitly requested but headers/dependencies were not found. Enable ECDH and try again.] )
396
388
fi
397
389
AC_MSG_WARN ( [ jni headers/dependencies not found. jni support disabled] )
398
390
use_jni=no
@@ -421,10 +413,6 @@ if test x"$enable_module_ecdh" = x"yes"; then
421
413
AC_DEFINE ( ENABLE_MODULE_ECDH , 1 , [ Define this symbol to enable the ECDH module] )
422
414
fi
423
415
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
416
if test x"$enable_module_recovery" = x"yes"; then
429
417
AC_DEFINE ( ENABLE_MODULE_RECOVERY , 1 , [ Define this symbol to enable the ECDSA pubkey recovery module] )
430
418
fi
@@ -442,7 +430,6 @@ AC_MSG_NOTICE([Using bignum implementation: $set_bignum])
442
430
AC_MSG_NOTICE ( [ Using scalar implementation: $set_scalar] )
443
431
AC_MSG_NOTICE ( [ Using endomorphism optimizations: $use_endomorphism] )
444
432
AC_MSG_NOTICE ( [ Building ECDH module: $enable_module_ecdh] )
445
- AC_MSG_NOTICE ( [ Building Schnorr signatures module: $enable_module_schnorr] )
446
433
AC_MSG_NOTICE ( [ Building ECDSA pubkey recovery module: $enable_module_recovery] )
447
434
AC_MSG_NOTICE ( [ Using jni: $use_jni] )
448
435
@@ -451,12 +438,8 @@ if test x"$enable_experimental" = x"yes"; then
451
438
AC_MSG_NOTICE ( [ WARNING: experimental build] )
452
439
AC_MSG_NOTICE ( [ Experimental features do not have stable APIs or properties, and may not be safe for production use.] )
453
440
AC_MSG_NOTICE ( [ Building ECDH module: $enable_module_ecdh] )
454
- AC_MSG_NOTICE ( [ Building Schnorr signatures module: $enable_module_schnorr] )
455
441
AC_MSG_NOTICE ( [ ******] )
456
442
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
443
if test x"$enable_module_ecdh" = x"yes"; then
461
444
AC_MSG_ERROR ( [ ECDH module is experimental. Use --enable-experimental to allow.] )
462
445
fi
@@ -476,7 +459,6 @@ AM_CONDITIONAL([USE_TESTS], [test x"$use_tests" != x"no"])
476
459
AM_CONDITIONAL([ USE_BENCHMARK] , [ test x"$use_benchmark" = x"yes"] )
477
460
AM_CONDITIONAL([ USE_ECMULT_STATIC_PRECOMPUTATION] , [ test x"$set_precomp" = x"yes"] )
478
461
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
462
AM_CONDITIONAL([ ENABLE_MODULE_RECOVERY] , [ test x"$enable_module_recovery" = x"yes"] )
481
463
AM_CONDITIONAL([ USE_JNI] , [ test x"$use_jni" == x"yes"] )
482
464
AM_CONDITIONAL([ USE_EXTERNAL_ASM] , [ test x"$use_external_asm" = x"yes"] )
0 commit comments