mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
cross-compiling from cygwin to mingw. Reported by Bob Rossi. This resurrects the 2000-11-30 patch to aclang.m4, which was mistakenly removed in the 2001-09-17 patch to lib/autoconf/c.m4.
This commit is contained in:
parent
609e9df2d4
commit
78dc34d5eb
@ -1,3 +1,11 @@
|
||||
2006-12-01 Eric Blake <ebb9@byu.net>
|
||||
|
||||
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
|
||||
cross-compiling from cygwin to mingw.
|
||||
Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
|
||||
aclang.m4, which was mistakenly removed in the 2001-09-17 patch
|
||||
to lib/autoconf/c.m4.
|
||||
|
||||
2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
|
||||
|
@ -284,15 +284,17 @@ static unsigned long int ulongval () { return $2; }
|
||||
long int i = longval ();
|
||||
if (i != ($2))
|
||||
return 1;
|
||||
fprintf (f, "%ld\n", i);
|
||||
fprintf (f, "%ld", i);
|
||||
}
|
||||
else
|
||||
{
|
||||
unsigned long int i = ulongval ();
|
||||
if (i != ($2))
|
||||
return 1;
|
||||
fprintf (f, "%lu\n", i);
|
||||
fprintf (f, "%lu", i);
|
||||
}
|
||||
/* Do not output a trailing newline, as this causes \r\n confusion
|
||||
on some platforms. */
|
||||
return ferror (f) || fclose (f) != 0;
|
||||
])])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user