Log Message: Use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE for __thread, or unwanted detect of TLS support on NetBSD-5.1.