$NetBSD: patch-ac,v 1.1 2006/12/27 13:37:39 joerg Exp $ --- configure.orig 2006-12-17 20:33:25.000000000 +0000 +++ configure @@ -1230,9 +1230,10 @@ if test "$ac_x_libraries" = NO; then cat > conftest.$ac_ext < int main() { -${x_direct_test_function}() +${x_direct_test_function}(0) ; return 0; } EOF if { (eval echo configure:1239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then