@@ -136,6 +136,11 @@ AC_ARG_ENABLE(exhaustive_tests,
136136 [ use_exhaustive_tests=$enableval] ,
137137 [ use_exhaustive_tests=yes] )
138138
139+ AC_ARG_ENABLE ( examples ,
140+ AS_HELP_STRING ( [ --enable-examples] ,[ compile the examples [ default=no] ] ) ,
141+ [ use_examples=$enableval] ,
142+ [ use_examples=no] )
143+
139144AC_ARG_ENABLE ( ecmult_static_precomputation ,
140145 AS_HELP_STRING ( [ --enable-ecmult-static-precomputation] ,[ enable precomputed ecmult table for signing [ default=auto] ] ) ,
141146 [ use_ecmult_static_precomputation=$enableval] ,
@@ -495,6 +500,7 @@ AC_SUBST(SECP_CFLAGS)
495500AM_CONDITIONAL([ ENABLE_COVERAGE] , [ test x"$enable_coverage" = x"yes"] )
496501AM_CONDITIONAL([ USE_TESTS] , [ test x"$use_tests" != x"no"] )
497502AM_CONDITIONAL([ USE_EXHAUSTIVE_TESTS] , [ test x"$use_exhaustive_tests" != x"no"] )
503+ AM_CONDITIONAL([ USE_EXAMPLES] , [ test x"$use_examples" != x"no"] )
498504AM_CONDITIONAL([ USE_BENCHMARK] , [ test x"$use_benchmark" = x"yes"] )
499505AM_CONDITIONAL([ USE_ECMULT_STATIC_PRECOMPUTATION] , [ test x"$set_precomp" = x"yes"] )
500506AM_CONDITIONAL([ ENABLE_MODULE_ECDH] , [ test x"$enable_module_ecdh" = x"yes"] )
@@ -519,6 +525,7 @@ echo " with benchmarks = $use_benchmark"
519525echo " with tests = $use_tests"
520526echo " with openssl tests = $enable_openssl_tests"
521527echo " with coverage = $enable_coverage"
528+ echo " with examples = $use_examples"
522529echo " module ecdh = $enable_module_ecdh"
523530echo " module recovery = $enable_module_recovery"
524531echo " module extrakeys = $enable_module_extrakeys"
0 commit comments