Adds some compile and link options output to the configure process. Maybe I'm old school, but I like this level of verbosity.
Results in something like
[ ---snip--- ]
configure: Using bignum implementation: no
configure: Using scalar implementation: 64bit
configure: Using endomorphism optimizations: no
configure: Building ECDH module: no
configure: Building Schnorr signatures module: no
configure: Building ECDSA pubkey recovery module: yes
configure: Using jni: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Options used to compile and link:
WITH WALLET = yes
WITH GUI / QT = yes
WITH QR = yes
WITH TEST = no
WITH BENCH = yes
TARGET OS = darwin
BUILD OS = darwin
CC = /usr/local/bin/ccache gcc
CFLAGS = -g -O2
CPPFLAGS = -Qunused-arguments -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db4/include -DMAC_OSX
CXX = /usr/local/bin/ccache g++ -std=c++11
CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register
LDFLAGS = -Wl,-headerpad_max_install_names -Wl,-dead_strip