delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/30/21:45:42

X-Spam-Check-By: sourceware.org
Message-ID: <456F9741.20405@cygwin.com>
Date: Thu, 30 Nov 2006 21:45:21 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061108 Fedora/1.5.0.8-1.fc4.remi Thunderbird/1.5.0.8 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: autoconf
References: <20061130220408 DOT GE19404 AT cox DOT net> <456F6D06 DOT 1050200 AT cygwin DOT com> <20061201002542 DOT GG19404 AT cox DOT net>
In-Reply-To: <20061201002542.GG19404@cox.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Bob Rossi wrote:
> 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?


I'm not sure.  I'm assuming not using '-mno-cygwin' is not an option?

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019