| delorie.com/archives/browse.cgi | search |
| 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:message-id:date:from:mime-version:to:subject | |
| :references:in-reply-to:content-type; q=dns; s=default; b=q390wD | |
| biKK62U20kcQYRbftuqThIiDYzd2UhQW3AdnPtf3fDwJc6SUgfShq9RI68AkkSpt | |
| 4y9Lp7yzTa5clyc+S9KMlTow2ZDeeRNNderKpsLiHQMekrvzmguWg7j9CySZJgG2 | |
| U9Y6wngP62RjVar1p+LwHKPjfrq8gftudmSDI= | |
| 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:message-id:date:from:mime-version:to:subject | |
| :references:in-reply-to:content-type; s=default; bh=yfY8jknxpHZ0 | |
| rkjgNhYODpEf2D8=; b=ahaFYk1aiVPP2y8arJQffLw3tOiR4t67UNUeqBZN6Z3g | |
| d/3xf+q4rir3gi+w1OurZAdBhkEsD7VNzFE1volWZibOJRRiLOYvfAD57lElSHmU | |
| JGokpwCZcsbFAphyMrOmd9SkdEN4Ok9QcMRjssyTRXWVGkTgQ6yrnXhcbs9FiRA= | |
| 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 |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
| X-HELO: | mx1.redhat.com |
| Message-ID: | <537275F3.6070108@redhat.com> |
| Date: | Tue, 13 May 2014 13:43:47 -0600 |
| From: | Eric Blake <eblake AT redhat DOT com> |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: pinfo configure problem - configure.ac (0/1) |
| References: | <05u3n9l6l8pgdeuidskcplb1930mmjtu05 AT 4ax DOT com> <20140513110518 DOT GN2436 AT calimero DOT vinschen DOT de> <ui14n9t5gv0sepatqtpocqqlodgcve9gi3 AT 4ax DOT com> <20140513115410 DOT GP2436 AT calimero DOT vinschen DOT de> <sfe4n955rf2f5571oepq2l0tffi4hr1l4b AT 4ax DOT com> <537269E3 DOT 5080509 AT redhat DOT com> <err4n99d6s6t1o1bebv4rf50p9vt7qhh2l AT 4ax DOT com> |
| In-Reply-To: | <err4n99d6s6t1o1bebv4rf50p9vt7qhh2l@4ax.com> |
| OpenPGP: | url=http://people.redhat.com/eblake/eblake.gpg |
| X-IsSubscribed: | yes |
--RWodGEjkDvlshNSvk0vMspUKSTVsG8I9l Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/13/2014 01:19 PM, Andrew Schulman wrote: >=20 > AC_CHECK_CURSES calls AC_CHECK_CURSES_COMPILE, which is the step that > fails. I've included it below. The key step seems to be that it calls > AC_LINK_IFELSE, with the curses libs (-lncursesw) appended to LDFLAGS. That's a bug in AC_CHECK_CURSES_COMPILE, and should be reported to whoever wrote that macro. The autoconf manual says that LDFLAGS is for -L options, while LIBS is for -l options. >=20 > dnl > dnl check if the curses header we found, works > dnl > AC_DEFUN([AC_CHECK_CURSES_COMPILE], [ >=20 > dnl save CFLAGS and LDFLAGS and set new ones > CFLAGS_OLD=3D$CFLAGS > CFLAGS=3D"$CFLAGS $curses_includes" > LDFLAGS_OLD=3D$LDFLAGS > LDFLAGS=3D"$LDFLAGS $curses_libs" and this is a blatant case of using the wrong env-var for library probing. s/LDFLAGS/LIBS/ on these lines, before running autoreconf, and that should fix it without you manually having to pass LIBS=3D at the configure command line. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --RWodGEjkDvlshNSvk0vMspUKSTVsG8I9l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTcnXzAAoJEKeha0olJ0Nq0ggH/RaKi8dYLuSa5N5l2P3er/xU SFeAkfo3qDXCLHzVCcSBvIy0vGpNoFpBYQhdg6fTmgPW1WNjq1W+0tHsd6sxLRys tiPi8tjbucfa40Mqxz999pIccN/ry6H9PIUUcbgun5YqznSW4wFKgL6uAJ5OQvVV notcdGFwuqeO9DVo13cRX0QAHhcRRE9QeiBLxXV45Iv+YFIMlhoLJvTaoYOIyE32 3prJTVD5f+vnLcUJXoBsKw26YjbdgmEoA/g2EUgZQHcQmaDmxjZhDYfJSRGZYrWP y5mfeBDdm7GZwTB+LXL5XZYk66RE4MxTpHDsuKL2zMLPBbP7aY2E3Konu/OEaw8= =GmC8 -----END PGP SIGNATURE----- --RWodGEjkDvlshNSvk0vMspUKSTVsG8I9l--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |