X-Spam-Check-By: sourceware.org Date: Thu, 30 Nov 2006 19:16:32 -0500 From: Bob Rossi To: cygwin AT cygwin DOT com Subject: Re: autoconf Message-ID: <20061201001632.GF19404@cox.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20061130220408 DOT GE19404 AT cox DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061130220408.GE19404@cox.net> User-Agent: Mutt/1.5.12-2006-07-14 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/