This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: autoconf
- From: Bob Rossi <bob_rossi at cox dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 30 Nov 2006 19:16:32 -0500
- Subject: Re: autoconf
- References: <20061130220408.GE19404@cox.net>
On Thu, Nov 30, 2006 at 05:04:08PM -0500, 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".
I narrowed it down further. It's AC_CHECKS_SIZEOF that does
acgeneral.m4: fprintf(f, "%d\n", sizeof($1));
which because I'm passing -mno-cygwin, get's a "4\r\n" in a file. (if
the size is 4)
Then it does
AC_CV_NAME=`cat conftestval`, ...
That cat is the cygwin cat, so it puts out "4\r", which is incorrect.
Do I have to get a cat that's been built with mingw? When I try to
modify /usr/local/share/autoconf/acgeneral.m4 to do
AC_CV_NAME=`dos2unix conftestval; cat conftestval`, ...
and then run autoconf, autoconf doesn't pick up the changes.
Is this possible to make autoconf do?
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/