$NetBSD: patch-sntp_configure,v 1.2 2014/12/20 09:45:46 taca Exp $
--- sntp/configure.orig 2014-12-19 12:40:10.000000000 +0000
+++ sntp/configure
@@ -14394,8 +14394,8 @@ done
# thread cancellation fails to load libgcc_s with dlopen().
# We have to pass this all as linker options to avoid argument
# reordering by libtool.
- case "$GCC$with_gnu_ld" in
- yesyes)
+ case "$GCC,$with_gnu_ld,$host_os" in
+ yes,yes,linux)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lgcc_s" >&5
$as_echo_n "checking for exit in -lgcc_s... " >&6; }
if ${ac_cv_lib_gcc_s_exit+:} false; then :