update configure to the latest changes in aclocal.m4

This commit is contained in:
jjgarcia 2002-12-09 14:37:32 +00:00
parent 7828d15172
commit 443a2895f0

12
src/configure vendored
View file

@ -3883,6 +3883,7 @@ else
int main() {
FILE *f = fopen("conftestval","w");
int c1, c2;
char *output;
if (f == NULL) exit(1);
fprintf(f, "\n");
fclose(f);
@ -3894,12 +3895,17 @@ int main() {
f = fopen("conftestval","w");
if (f == NULL) exit(1);
if (c1 == '\r')
fprintf(f,"crlf");
output="crlf";
else if (c2 == '\r')
fprintf(f,"lfcr");
output="lfcr";
else
fprintf(f,"unix");
output="unix";
fclose(f);
f = fopen("conftestval","w");
if (f == NULL) exit(1);
fprintf(f, output);
fclose(f);
exit(0);
}
_ACEOF