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
|
$NetBSD: patch-ab,v 1.15 2003/12/03 12:05:18 markd Exp $
--- aclocal.m4.orig 2003-09-27 18:08:39.000000000 +1200
+++ aclocal.m4
@@ -572,6 +572,7 @@ ${F77} ${FFLAGS} -c conftestf.f 1>&AS_ME
#else
# define F77_SYMBOL(x) x
#endif
+int MAIN__ () { return 0; }
int main () {
exit(0);
}
@@ -633,6 +634,9 @@ ${F77} ${FFLAGS} -c conftestf.f 1>&AS_ME
extern void F77_SYMBOL(cftest)(int *a, int *b, double *x, double *y);
+int MAIN_ () { return 0; }
+int MAIN__ () { return 0; }
+
int main () {
int a[3] = {17, 237, 2000000000}, b[2], res = 0;
double x[3] = {3.14159265, 123.456789, 2.3e34}, z[3];
@@ -714,6 +718,9 @@ typedef struct {
extern void F77_SYMBOL(cftest)(Rcomplex *x);
+int MAIN_ () { return 0; }
+int MAIN__ () { return 0; }
+
int main () {
Rcomplex z[3];
|