secp256k1: hook up configure option

This doesn't actually do anything yet.
secp256k1: link in libsecp256k1 as needed. Still not used.

Note: This is added to our existing automake targets rather than as a
libtool-style lib. The switch to libtool-style targets can come later if it
proves to not add any complications.
libsecp256k1 integration