autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF


From: Ralf Wildenhues
Subject: Re: cygwin -mno-cygwin AC_CHECK_SIZEOF
Date: Fri, 1 Dec 2006 14:57:59 +0100
User-agent: Mutt/1.5.13 (2006-11-01)

* Eric Blake wrote on Fri, Dec 01, 2006 at 02:43:10PM CET:
> According to Bob Rossi on 12/1/2006 5:28 AM:
> > 
> > I really think this is the current best solution, that is, to modify
> > autoconf to not use cat. Either that, or simply don't put the \n in the
> > AC_CHECK_SIZEOF macro. I'm not sure why that is done in the first place.
> 
> Avoiding the troublesome line ending seems best to me.

How does this mesh with
<http://lists.gnu.org/archive/html/autoconf-patches/2001-09/msg00043.html>
or formulated differently, if we're going to break POSIX compatibility,
do we at least have sufficient evidence that all known systems cope with
it?

FWIW, the patch in that thread undid a previous change that removed the
line ending.

(I vaguely remember assuming some issues in Libtool with passing things
without a newline; alas, I never got to the bottom of that, and forgot
about the details since.)

Cheers,
Ralf

> 2006-12-01  Eric Blake  <address@hidden>
> 
>       * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
>       cross-compiling from cygwin to mingw.
>       Reported by Bob Rossi.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]