$NetBSD: patch-ao,v 1.14 2007/05/23 13:19:23 markd Exp $

--- configure.orig	2007-05-14 23:44:00.000000000 +1200
+++ configure
@@ -37382,6 +37382,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
 
+#include <sys/param.h>
 #include <sys/mount.h>
 
 
@@ -38175,17 +38176,19 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <math.h>
+
 /* Override any GCC internal prototype to avoid an error.
    Use char because int might match the return type of a GCC
    builtin and then its argument prototype would still apply.  */
 #ifdef __cplusplus
 extern "C"
 #endif
-char isinf ();
+double d = 0.0;
 int
 main ()
 {
-return isinf ();
+return isinf (d);
   ;
   return 0;
 }
@@ -42097,6 +42100,8 @@ else
   version=""2.5""
 fi
 
+version="$PYVERSSUFFIX"
+
 { echo "$as_me:$LINENO: checking for Python$version" >&5
 echo $ECHO_N "checking for Python$version... $ECHO_C" >&6; }
 
