2007-05-23 15:19:23 +02:00
|
|
|
$NetBSD: patch-ao,v 1.14 2007/05/23 13:19:23 markd Exp $
|
2003-02-21 14:42:37 +01:00
|
|
|
|
2007-05-23 15:19:23 +02:00
|
|
|
--- configure.orig 2007-05-14 23:44:00.000000000 +1200
|
2003-02-21 14:42:37 +01:00
|
|
|
+++ configure
|
2007-05-23 15:19:23 +02:00
|
|
|
@@ -37382,6 +37382,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
2004-05-06 01:56:08 +02:00
|
|
|
/* end confdefs.h. */
|
|
|
|
|
|
|
|
|
|
|
|
+#include <sys/param.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|
|
|
|
|
|
2007-05-23 15:19:23 +02:00
|
|
|
@@ -38175,17 +38176,19 @@ cat confdefs.h >>conftest.$ac_ext
|
2006-01-05 21:25:16 +01:00
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
|
|
|
+#include <math.h>
|
|
|
|
+
|
2007-05-23 15:19:23 +02:00
|
|
|
/* 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. */
|
2006-01-05 21:25:16 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
-char isinf ();
|
|
|
|
+double d = 0.0;
|
|
|
|
int
|
|
|
|
main ()
|
|
|
|
{
|
2007-05-23 15:19:23 +02:00
|
|
|
-return isinf ();
|
|
|
|
+return isinf (d);
|
|
|
|
;
|
|
|
|
return 0;
|
2006-01-05 21:25:16 +01:00
|
|
|
}
|
2007-05-23 15:19:23 +02:00
|
|
|
@@ -42097,6 +42100,8 @@ else
|
|
|
|
version=""2.5""
|
2006-01-08 13:07:51 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
+version="$PYVERSSUFFIX"
|
|
|
|
+
|
2007-05-23 15:19:23 +02:00
|
|
|
{ echo "$as_me:$LINENO: checking for Python$version" >&5
|
|
|
|
echo $ECHO_N "checking for Python$version... $ECHO_C" >&6; }
|
2006-01-08 13:07:51 +01:00
|
|
|
|