Lines 1486-1492
Link Here
|
1486 |
ATL_mprintf(2, fplog, fpout, "CC = %s %s\n", CC, CCFLAGS); |
1486 |
ATL_mprintf(2, fplog, fpout, "CC = %s %s\n", CC, CCFLAGS); |
1487 |
if (MCC) ATL_mprintf(2, fplog, fpout, "MCC = %s %s\n\n", MCC, MMFLAGS); |
1487 |
if (MCC) ATL_mprintf(2, fplog, fpout, "MCC = %s %s\n\n", MCC, MMFLAGS); |
1488 |
|
1488 |
|
1489 |
if (F77 && BLASlib) FindBlas(fpout, fplog, redir, F77, F77FLAGS, BLASlib); |
1489 |
/* Gentoo if (F77 && BLASlib) FindBlas(fpout, fplog, redir, F77, F77FLAGS, BLASlib); */ |
1490 |
return(iret); |
1490 |
return(iret); |
1491 |
} |
1491 |
} |
1492 |
|
1492 |
|
Lines 2122-2127
Link Here
|
2122 |
} |
2122 |
} |
2123 |
else if (strstr(ln, "Athlon")) mach = AmdAthlon; |
2123 |
else if (strstr(ln, "Athlon")) mach = AmdAthlon; |
2124 |
else if (strstr(ln, "AMD-K7")) mach = AmdAthlon; |
2124 |
else if (strstr(ln, "AMD-K7")) mach = AmdAthlon; |
|
|
2125 |
else if (strstr(ln, "XEON")) mach = IntP4; /* Gentoo */ |
2125 |
} |
2126 |
} |
2126 |
break; |
2127 |
break; |
2127 |
default:; |
2128 |
default:; |
Lines 2237-2242
Link Here
|
2237 |
if (i || ln[0] == '\0' || strstr(ln, "i586") || strstr(ln, "i486") || |
2238 |
if (i || ln[0] == '\0' || strstr(ln, "i586") || strstr(ln, "i486") || |
2238 |
strstr(ln, "i386")) |
2239 |
strstr(ln, "i386")) |
2239 |
{ |
2240 |
{ |
|
|
2241 |
#ifndef INTERACTIVE |
2242 |
exit(-1); /*/ Make ebuild complain. */ |
2243 |
#endif |
2240 |
fprintf(stdout, "Enter your machine type:\n"); |
2244 |
fprintf(stdout, "Enter your machine type:\n"); |
2241 |
fprintf(stdout, " 1. Other/UNKNOWN\n\n"); |
2245 |
fprintf(stdout, " 1. Other/UNKNOWN\n\n"); |
2242 |
fprintf(stdout, " 2. AMD Athlon\n"); |
2246 |
fprintf(stdout, " 2. AMD Athlon\n"); |
Lines 2252-2257
Link Here
|
2252 |
else if (strstr(ln, "ia64")) return(IA64Itan); |
2256 |
else if (strstr(ln, "ia64")) return(IA64Itan); |
2253 |
else if (strstr(ln, "i686")) |
2257 |
else if (strstr(ln, "i686")) |
2254 |
{ |
2258 |
{ |
|
|
2259 |
#ifndef INTERACTIVE |
2260 |
exit(-1); /* Make ebuild complain. */ |
2261 |
#endif |
2255 |
fprintf(stdout, "Enter your machine type:\n"); |
2262 |
fprintf(stdout, "Enter your machine type:\n"); |
2256 |
fprintf(stdout, " 1. Other/UNKNOWN\n"); |
2263 |
fprintf(stdout, " 1. Other/UNKNOWN\n"); |
2257 |
fprintf(stdout, " 2. AMD Athlon\n"); |
2264 |
fprintf(stdout, " 2. AMD Athlon\n"); |
Lines 2742-2748
Link Here
|
2742 |
if (ierr) |
2749 |
if (ierr) |
2743 |
{ |
2750 |
{ |
2744 |
fprintf(stderr, "File Make.%s already exists!\n", ARCH); |
2751 |
fprintf(stderr, "File Make.%s already exists!\n", ARCH); |
2745 |
ierr = !IsYes('n', "", "overwrite it?"); |
2752 |
/* Gentoo ierr = !IsYes('n', "", "overwrite it?"); */ |
|
|
2753 |
ierr = !IsYes('y', "", "overwrite it?"); |
2746 |
} |
2754 |
} |
2747 |
} |
2755 |
} |
2748 |
while (ierr); |
2756 |
while (ierr); |
Lines 3062-3068
Link Here
|
3062 |
fprintf(fpout, " MVTdir = $(TOPdir)/tune/blas/gemv/$(ARCH)\n"); |
3070 |
fprintf(fpout, " MVTdir = $(TOPdir)/tune/blas/gemv/$(ARCH)\n"); |
3063 |
fprintf(fpout, " R1Tdir = $(TOPdir)/tune/blas/ger/$(ARCH)\n"); |
3071 |
fprintf(fpout, " R1Tdir = $(TOPdir)/tune/blas/ger/$(ARCH)\n"); |
3064 |
fprintf(fpout, " L1Tdir = $(TOPdir)/tune/blas/level1/$(ARCH)\n"); |
3072 |
fprintf(fpout, " L1Tdir = $(TOPdir)/tune/blas/level1/$(ARCH)\n"); |
3065 |
fprintf(fpout, " L3Tdir = $(TOPdir)/tune/blas/level3/$(ARCH)\n\n"); |
3073 |
fprintf(fpout, " L3Tdir = $(TOPdir)/tune/blas/level3/$(ARCH)\n"); |
3066 |
|
3074 |
|
3067 |
fprintf(fpout, |
3075 |
fprintf(fpout, |
3068 |
"# ---------------------------------------------------------------------\n"); |
3076 |
"# ---------------------------------------------------------------------\n"); |
Lines 3177-3183
Link Here
|
3177 |
fprintf(fpout, " BC = $(CC)\n", CC); |
3185 |
fprintf(fpout, " BC = $(CC)\n", CC); |
3178 |
fprintf(fpout, " BCFLAGS = $(CCFLAGS)\n"); |
3186 |
fprintf(fpout, " BCFLAGS = $(CCFLAGS)\n"); |
3179 |
} |
3187 |
} |
|
|
3188 |
#ifdef USE_LIBTOOL |
3189 |
fprintf(fpout, " LIBTOOL = libtool --mode=compile\n"); |
3190 |
fprintf(fpout, " ARCHIVER = $(TOPdir)/war %s\n", ARCHIVER); |
3191 |
#else |
3180 |
fprintf(fpout, " ARCHIVER = %s\n", ARCHIVER); |
3192 |
fprintf(fpout, " ARCHIVER = %s\n", ARCHIVER); |
|
|
3193 |
#endif |
3181 |
fprintf(fpout, " ARFLAGS = %s\n", ARFLAGS); |
3194 |
fprintf(fpout, " ARFLAGS = %s\n", ARFLAGS); |
3182 |
fprintf(fpout, " RANLIB = %s\n\n", RANLIB); |
3195 |
fprintf(fpout, " RANLIB = %s\n\n", RANLIB); |
3183 |
|
3196 |
|