Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/configure.ac
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | AC_ARG_ENABLE(module_recovery, | ||||
[enable_module_recovery=$enableval], | [enable_module_recovery=$enableval], | ||||
[enable_module_recovery=no]) | [enable_module_recovery=no]) | ||||
AC_ARG_ENABLE(module_schnorr, | AC_ARG_ENABLE(module_schnorr, | ||||
AS_HELP_STRING([--enable-module-schnorr],[enable Schnorr signatures module [default=yes]]), | AS_HELP_STRING([--enable-module-schnorr],[enable Schnorr signatures module [default=yes]]), | ||||
[enable_module_schnorr=$enableval], | [enable_module_schnorr=$enableval], | ||||
[enable_module_schnorr=yes]) | [enable_module_schnorr=yes]) | ||||
AC_ARG_ENABLE(external_default_callbacks, | |||||
AS_HELP_STRING([--enable-external-default-callbacks],[enable external default callback functions (default is no)]), | |||||
[use_external_default_callbacks=$enableval], | |||||
[use_external_default_callbacks=no]) | |||||
AC_ARG_ENABLE(jni, | AC_ARG_ENABLE(jni, | ||||
AS_HELP_STRING([--enable-jni],[enable libsecp256k1_jni [default=no]]), | AS_HELP_STRING([--enable-jni],[enable libsecp256k1_jni [default=no]]), | ||||
[use_jni=$enableval], | [use_jni=$enableval], | ||||
[use_jni=no]) | [use_jni=no]) | ||||
AC_ARG_WITH([field], [AS_HELP_STRING([--with-field=64bit|32bit|auto], | AC_ARG_WITH([field], [AS_HELP_STRING([--with-field=64bit|32bit|auto], | ||||
[finite field implementation to use [default=auto]])],[req_field=$withval], [req_field=auto]) | [finite field implementation to use [default=auto]])],[req_field=$withval], [req_field=auto]) | ||||
▲ Show 20 Lines • Show All 351 Lines • ▼ Show 20 Lines | |||||
fi | fi | ||||
AC_C_BIGENDIAN() | AC_C_BIGENDIAN() | ||||
if test x"$use_external_asm" = x"yes"; then | if test x"$use_external_asm" = x"yes"; then | ||||
AC_DEFINE(USE_EXTERNAL_ASM, 1, [Define this symbol if an external (non-inline) assembly implementation is used]) | AC_DEFINE(USE_EXTERNAL_ASM, 1, [Define this symbol if an external (non-inline) assembly implementation is used]) | ||||
fi | fi | ||||
if test x"$use_external_default_callbacks" = x"yes"; then | |||||
AC_DEFINE(USE_EXTERNAL_DEFAULT_CALLBACKS, 1, [Define this symbol if an external implementation of the default callbacks is used]) | |||||
fi | |||||
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]) | ||||
AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.]) | AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.]) | ||||
AC_MSG_NOTICE([Building ECDH module: $enable_module_ecdh]) | AC_MSG_NOTICE([Building ECDH module: $enable_module_ecdh]) | ||||
AC_MSG_NOTICE([******]) | AC_MSG_NOTICE([******]) | ||||
else | else | ||||
if test x"$enable_module_ecdh" = x"yes"; then | if test x"$enable_module_ecdh" = x"yes"; then | ||||
Show All 28 Lines | |||||
PKGCONFIG_PATH_TEMP="$PKG_CONFIG_PATH" | PKGCONFIG_PATH_TEMP="$PKG_CONFIG_PATH" | ||||
unset PKG_CONFIG_PATH | unset PKG_CONFIG_PATH | ||||
PKG_CONFIG_PATH="$PKGCONFIG_PATH_TEMP" | PKG_CONFIG_PATH="$PKGCONFIG_PATH_TEMP" | ||||
AC_OUTPUT | AC_OUTPUT | ||||
echo | echo | ||||
echo "Build Options:" | echo "Build Options:" | ||||
echo " with endomorphism = $use_endomorphism" | echo " with endomorphism = $use_endomorphism" | ||||
echo " with ecmult precomp = $set_precomp" | echo " with ecmult precomp = $set_precomp" | ||||
echo " with external callbacks = $use_external_default_callbacks" | |||||
echo " with jni = $use_jni" | echo " with jni = $use_jni" | ||||
echo " with benchmarks = $use_benchmark" | echo " with benchmarks = $use_benchmark" | ||||
echo " with coverage = $enable_coverage" | echo " with coverage = $enable_coverage" | ||||
echo " module ecdh = $enable_module_ecdh" | echo " module ecdh = $enable_module_ecdh" | ||||
echo " module recovery = $enable_module_recovery" | echo " module recovery = $enable_module_recovery" | ||||
echo " module multiset = $enable_module_multiset" | echo " module multiset = $enable_module_multiset" | ||||
echo " module schnorr = $enable_module_schnorr" | echo " module schnorr = $enable_module_schnorr" | ||||
echo | echo | ||||
echo " asm = $set_asm" | echo " asm = $set_asm" | ||||
echo " bignum = $set_bignum" | echo " bignum = $set_bignum" | ||||
echo " field = $set_field" | echo " field = $set_field" | ||||
echo " scalar = $set_scalar" | echo " scalar = $set_scalar" | ||||
echo " ecmult window size = $set_ecmult_window" | echo " ecmult window size = $set_ecmult_window" | ||||
echo | echo | ||||
echo " CC = $CC" | echo " CC = $CC" | ||||
echo " CFLAGS = $CFLAGS" | echo " CFLAGS = $CFLAGS" | ||||
echo " CPPFLAGS = $CPPFLAGS" | echo " CPPFLAGS = $CPPFLAGS" | ||||
echo " LDFLAGS = $LDFLAGS" | echo " LDFLAGS = $LDFLAGS" | ||||
echo | echo |