$NetBSD: patch-ab,v 1.4 2006/12/27 13:37:39 joerg Exp $ --- ../common/configure.orig 2006-12-17 20:32:26.000000000 +0000 +++ ../common/configure @@ -1226,9 +1226,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:1235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then