This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autoconf


On Thu, Nov 30, 2006 at 06:45:10PM -0500, Larry Hall (Cygwin) wrote:
> Bob Rossi wrote:
> >Hi,
> >
> >I'm using autoconf. I notice when I use things like
> >AC_CHECK_SIZEOF (int)
> >that the ac_cv_sizeof_int has the value of "4\r".
> >
> >There is an extra carriage return in there. I start my configure
> >script with
> >  ./configure --build=mingw32
> >could that be the problem?
> >
> >Is there any solution to having these macro's work correctly on cygwin?
> >or did I break it by using the --build option? BTW, I can't test it
> >without the --build option because the configure script doesn't even get
> >that far otherwise, since this is a mingw package (sort of).
> 
> 
> Sounds to me like the file you're feeding to autoconf has DOS line endings 
> in
> it.

Yes, this is correct. The AC_CHECK_SIZEOF macro does not work with
-mno-cygwin unless there is a cygwin version of 'cat' on the path.

Is there a standard way to resolve this problem?

Thanks,
Bob Rossi

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]