mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 15:40:55 -08:00
update configure to the latest changes in aclocal.m4
This commit is contained in:
parent
7828d15172
commit
443a2895f0
1 changed files with 9 additions and 3 deletions
12
src/configure
vendored
12
src/configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue