blob: 2512014512ee901b9372ba41e9d7cc3bceeccf98 (
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
38
39
40
|
$NetBSD: patch-configure,v 1.1 2012/07/03 17:32:00 joerg Exp $
--- configure.orig 2002-01-18 01:16:44.000000000 +0000
+++ configure
@@ -665,7 +665,7 @@ cat > conftest.$ac_ext << EOF
#line 666 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
@@ -1664,7 +1664,7 @@ extern "C" void exit(int);
#endif
#include <stdio.h>
#include <sys/types.h>
-main()
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
@@ -1706,7 +1706,7 @@ extern "C" void exit(int);
#endif
#include <stdio.h>
#include <sys/types.h>
-main()
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
@@ -1748,7 +1748,7 @@ extern "C" void exit(int);
#endif
#include <stdio.h>
#include <sys/types.h>
-main()
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
|