X-Recipient: archive-cygwin AT delorie DOT 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:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Bph 4AOliW3Ld+B/AldoIGIvzQyUVuYf2d+Mr3hWNiXJgJlEgNYbQOPAruxWx4iLt4u0 nQzJjUM2YQAW2racQ/iadfx0pdhX/hU+Vg8nHYWa1wxYcjVAvh3BLMunN3fYQKty 9eCVy5GJ+u2zyOMYko0B7fJPaIxFzMtBe7cBAimU= 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:mime-version :content-type:content-transfer-encoding; s=default; bh=8tF1StsXu SILB24v2PRtQDAU9IE=; b=ET8BDvSYGlZljM+RZeAKUQB7CIJfQqFYrB5gWi7gg 8d0DSi9A/lUCA8gt7mbZVy6CJQce890lTk4g4ufDI8gt4wOk//DV5Bk8NeW9C3t9 /E2ku7PPuaQrilsBIwEVg8HrnahVZ3nuM7f7Kv9xRAj34rnvV7Oc1KbIt55C6sqo jA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 AT cygwin DOT com From: Andrew Schulman Subject: pinfo configure problem Date: Tue, 13 May 2014 06:55:37 -0400 Lines: 22 Message-ID: <05u3n9l6l8pgdeuidskcplb1930mmjtu05@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes 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. Thanks, Andrew -- 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