blob: 08a07b740676d164935e7dfa0fbaf765b8a5d949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-ao,v 1.12 2006/01/05 20:25:16 joerg Exp $
--- configure.orig 2005-11-26 07:19:12.000000000 +0000
+++ configure
@@ -34076,6 +34076,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/param.h>
#include <sys/mount.h>
@@ -34785,19 +34786,18 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <math.h>
+
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char isinf ();
+
+double d = 0.0;
int
main ()
{
-isinf ();
- ;
- return 0;
+ return isinf (d);
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
|