Skip to content

Commit 3965027

Browse files
committed
Summarize build options in configure script
1 parent cd329db commit 3965027

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

configure.ac

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -441,18 +441,6 @@ if test x"$use_external_asm" = x"yes"; then
441441
AC_DEFINE(USE_EXTERNAL_ASM, 1, [Define this symbol if an external (non-inline) assembly implementation is used])
442442
fi
443443

444-
AC_MSG_NOTICE([Using static precomputation: $set_precomp])
445-
AC_MSG_NOTICE([Using assembly optimizations: $set_asm])
446-
AC_MSG_NOTICE([Using field implementation: $set_field])
447-
AC_MSG_NOTICE([Using bignum implementation: $set_bignum])
448-
AC_MSG_NOTICE([Using scalar implementation: $set_scalar])
449-
AC_MSG_NOTICE([Using endomorphism optimizations: $use_endomorphism])
450-
AC_MSG_NOTICE([Building benchmarks: $use_benchmark])
451-
AC_MSG_NOTICE([Building for coverage analysis: $enable_coverage])
452-
AC_MSG_NOTICE([Building ECDH module: $enable_module_ecdh])
453-
AC_MSG_NOTICE([Building ECDSA pubkey recovery module: $enable_module_recovery])
454-
AC_MSG_NOTICE([Using jni: $use_jni])
455-
456444
if test x"$enable_experimental" = x"yes"; then
457445
AC_MSG_NOTICE([******])
458446
AC_MSG_NOTICE([WARNING: experimental build])
@@ -492,3 +480,24 @@ unset PKG_CONFIG_PATH
492480
PKG_CONFIG_PATH="$PKGCONFIG_PATH_TEMP"
493481

494482
AC_OUTPUT
483+
484+
echo
485+
echo "Build Options:"
486+
echo " with endomorphism = $use_endomorphism"
487+
echo " with ecmult precomp = $set_precomp"
488+
echo " with jni = $use_jni"
489+
echo " with benchmarks = $use_benchmark"
490+
echo " with coverage = $enable_coverage"
491+
echo " module ecdh = $enable_module_ecdh"
492+
echo " module recovery = $enable_module_recovery"
493+
echo
494+
echo " asm = $set_asm"
495+
echo " bignum = $set_bignum"
496+
echo " field = $set_field"
497+
echo " scalar = $set_scalar"
498+
echo
499+
echo " CC = $CC"
500+
echo " CFLAGS = $CFLAGS"
501+
echo " CPPFLAGS = $CPPFLAGS"
502+
echo " LDFLAGS = $LDFLAGS"
503+
echo

0 commit comments

Comments
 (0)