Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/configure.ac
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden]) | AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden]) | ||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char foo;]])], | AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char foo;]])], | ||||
[ AC_MSG_RESULT([yes]) ], | [ AC_MSG_RESULT([yes]) ], | ||||
[ AC_MSG_RESULT([no]) | [ AC_MSG_RESULT([no]) | ||||
CFLAGS="$saved_CFLAGS" | CFLAGS="$saved_CFLAGS" | ||||
]) | ]) | ||||
AC_ARG_ENABLE(benchmark, | AC_ARG_ENABLE(benchmark, | ||||
AS_HELP_STRING([--enable-benchmark],[compile benchmark (default is no)]), | AS_HELP_STRING([--enable-benchmark],[compile benchmark (default is yes)]), | ||||
[use_benchmark=$enableval], | [use_benchmark=$enableval], | ||||
[use_benchmark=no]) | [use_benchmark=yes]) | ||||
AC_ARG_ENABLE(coverage, | AC_ARG_ENABLE(coverage, | ||||
AS_HELP_STRING([--enable-coverage],[enable compiler flags to support kcov coverage analysis]), | AS_HELP_STRING([--enable-coverage],[enable compiler flags to support kcov coverage analysis]), | ||||
[enable_coverage=$enableval], | [enable_coverage=$enableval], | ||||
[enable_coverage=no]) | [enable_coverage=no]) | ||||
AC_ARG_ENABLE(tests, | AC_ARG_ENABLE(tests, | ||||
AS_HELP_STRING([--enable-tests],[compile tests (default is yes)]), | AS_HELP_STRING([--enable-tests],[compile tests (default is yes)]), | ||||
▲ Show 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | |||||
fi | fi | ||||
AC_MSG_NOTICE([Using static precomputation: $set_precomp]) | AC_MSG_NOTICE([Using static precomputation: $set_precomp]) | ||||
AC_MSG_NOTICE([Using assembly optimizations: $set_asm]) | AC_MSG_NOTICE([Using assembly optimizations: $set_asm]) | ||||
AC_MSG_NOTICE([Using field implementation: $set_field]) | AC_MSG_NOTICE([Using field implementation: $set_field]) | ||||
AC_MSG_NOTICE([Using bignum implementation: $set_bignum]) | AC_MSG_NOTICE([Using bignum implementation: $set_bignum]) | ||||
AC_MSG_NOTICE([Using scalar implementation: $set_scalar]) | AC_MSG_NOTICE([Using scalar implementation: $set_scalar]) | ||||
AC_MSG_NOTICE([Using endomorphism optimizations: $use_endomorphism]) | AC_MSG_NOTICE([Using endomorphism optimizations: $use_endomorphism]) | ||||
AC_MSG_NOTICE([Building benchmarks: $use_benchmark]) | |||||
AC_MSG_NOTICE([Building for coverage analysis: $enable_coverage]) | AC_MSG_NOTICE([Building for coverage analysis: $enable_coverage]) | ||||
AC_MSG_NOTICE([Building ECDH module: $enable_module_ecdh]) | AC_MSG_NOTICE([Building ECDH module: $enable_module_ecdh]) | ||||
AC_MSG_NOTICE([Building ECDSA pubkey recovery module: $enable_module_recovery]) | AC_MSG_NOTICE([Building ECDSA pubkey recovery module: $enable_module_recovery]) | ||||
AC_MSG_NOTICE([Using jni: $use_jni]) | AC_MSG_NOTICE([Using jni: $use_jni]) | ||||
if test x"$enable_experimental" = x"yes"; then | if test x"$enable_experimental" = x"yes"; then | ||||
AC_MSG_NOTICE([******]) | AC_MSG_NOTICE([******]) | ||||
AC_MSG_NOTICE([WARNING: experimental build]) | AC_MSG_NOTICE([WARNING: experimental build]) | ||||
Show All 36 Lines |