cmake: Add configure checks for thread local storage.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2 files changed