X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=KoAhIJjnBKqcNXtY8+/RnyVkJIY2RxMzKIJ17ZCJ2PQs7rKoBeNK5
	iHsMKn5Q6XRajWtNrG4QO74OrXqtE0hR4Osjpvy+AVZgIhPUBKqtiHqOWOj+Ewhq
	aVc3/MBUzeUYeIpM4PEvsIvbzKDWKihZet+dGLUZuLUjneEu7vG31s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=GY2FGuR/U+ZoRl/fjGUFH1Op43Q=; b=lOCBpJb4E2e2YjX5DBSKqz2yVOSE
	i5g2VqAshDZpRRDBu2TiMak3vRES+z8RVuJ0TM69EPstZsL7D9NELTK0Outlm1mj
	Ld9H1UTCdR0pjn0KHpJdcifEVocHnkbvRY3MBrGUg9b5NFOvcfDrTHN9B+hL/MRY
	e1stU3moCekmFdg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epa.gov>
Subject: Re: pinfo configure problem
Date: Tue, 13 May 2014 07:49:12 -0400
Lines: 27
Message-ID: <ui14n9t5gv0sepatqtpocqqlodgcve9gi3@4ax.com>
References: <05u3n9l6l8pgdeuidskcplb1930mmjtu05@4ax.com> <20140513110518.GN2436@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Archive: encrypt
X-IsSubscribed: yes

> On May 13 06:55, Andrew Schulman wrote:
> > I'm trying to build pinfo 0.6.10 in 64-bit.  The configure script halts,
> > claiming "curses is not usable".  The command that fails is:
> > 
> >   gcc -o conftest.exe -g -O2 -I/usr/include -L/usr/lib -lncursesw
> > conftest.c 
> > 
> > and this fails because the order of the arguments is wrong.  The command
> > should be
> > 
> >   gcc -o conftest.exe -g -O2 -I/usr/include conftest.c -L/usr/lib
> > -lncursesw 
> > 
> > and that succeeds.  So my question is really an autoconf question:  How
> > can I tell autoconf to fix the order of the compiler arguments?
> > 
> > My autoconf knowledge is pretty thin I'm afraid.  I can provide the
> > configure.ac script if that would be helpful.  The source is old - I
> > think the last real update was in 2007, with a small update posted in
> > 2010.
> 
> Doesn't calling `autoreconf' fix this problem?  If so, if you use
> cygport, the default build strategy contains the autoreconf step.
> If you defin your own build function, call cygautoreconf as first
> step after `cd ${B}'.

No, unfortunately it doesn't.  I ran 'autoreconf -i' first.


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

