$NetBSD: patch-ac,v 1.2 2006/01/03 19:21:17 joerg Exp $

--- configure.orig	2003-08-29 15:53:25.000000000 +0000
+++ configure
@@ -2094,8 +2094,9 @@ echo "configure:2093: checking for (void
 #line 2095 "configure"
 #include "confdefs.h"
 
+double val;
 int main() {
-(void)sin(0.0);
+return sin(val);
 ; return 0; }
 EOF
 if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -2141,8 +2142,9 @@ echo "configure:2140: checking for (void
 #line 2142 "configure"
 #include "confdefs.h"
 
+double val;
 int main() {
-(void)sin(0.0);
+return sin(val);
 ; return 0; }
 EOF
 if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
