@@ -116,6 +116,11 @@ AC_ARG_ENABLE(exhaustive_tests,
116116 [ use_exhaustive_tests=$enableval] ,
117117 [ use_exhaustive_tests=yes] )
118118
119+ AC_ARG_ENABLE ( examples ,
120+ AS_HELP_STRING ( [ --enable-examples] ,[ compile the examples [ default=yes] ] ) ,
121+ [ use_examples=$enableval] ,
122+ [ use_examples=yes] )
123+
119124AC_ARG_ENABLE ( endomorphism ,
120125 AS_HELP_STRING ( [ --enable-endomorphism] ,[ enable endomorphism [ default=no] ] ) ,
121126 [ use_endomorphism=$enableval] ,
@@ -527,6 +532,7 @@ AC_SUBST(SECP_TEST_INCLUDES)
527532AM_CONDITIONAL([ ENABLE_COVERAGE] , [ test x"$enable_coverage" = x"yes"] )
528533AM_CONDITIONAL([ USE_TESTS] , [ test x"$use_tests" != x"no"] )
529534AM_CONDITIONAL([ USE_EXHAUSTIVE_TESTS] , [ test x"$use_exhaustive_tests" != x"no"] )
535+ AM_CONDITIONAL([ USE_EXAMPLES] , [ test x"$use_examples" != x"no"] )
530536AM_CONDITIONAL([ USE_BENCHMARK] , [ test x"$use_benchmark" = x"yes"] )
531537AM_CONDITIONAL([ USE_ECMULT_STATIC_PRECOMPUTATION] , [ test x"$set_precomp" = x"yes"] )
532538AM_CONDITIONAL([ ENABLE_MODULE_ECDH] , [ test x"$enable_module_ecdh" = x"yes"] )
0 commit comments