From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#17438: xrandr linking problem on OS X Date: Mon, 12 May 2014 14:26:43 +0900 Organization: Emacsen advocacy group Message-ID: References: <1id2fodnrh.fsf@fencepost.gnu.org> <536EE0BD.3000902@cs.ucla.edu> <536EEA53.7020605@cs.ucla.edu> <2c7g5skxjc.fsf@fencepost.gnu.org> <536FCC5C.50901@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1399872444 1719 80.91.229.3 (12 May 2014 05:27:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2014 05:27:24 +0000 (UTC) Cc: 17438@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 12 07:27:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wjili-00024E-B7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 07:27:18 +0200 Original-Received: from localhost ([::1]:35384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjilh-0002dl-Tv for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 01:27:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjilb-0002dd-71 for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 01:27:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjilT-0002Gu-BN for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 01:27:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjilT-0002G7-8y for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 01:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjilS-0001e3-K6 for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 01:27:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <1id2fodnrh.fsf@fencepost.gnu.org> Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 May 2014 05:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17438-submit@debbugs.gnu.org id=B17438.13998724176308 (code B ref 17438); Mon, 12 May 2014 05:27:02 +0000 Original-Received: (at 17438) by debbugs.gnu.org; 12 May 2014 05:26:57 +0000 Original-Received: from localhost ([127.0.0.1]:60025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjilM-0001dd-LD for submit@debbugs.gnu.org; Mon, 12 May 2014 01:26:57 -0400 Original-Received: from hampton-mail.hostforweb.net ([205.234.204.210]:48992 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjilJ-0001dH-VU for 17438@debbugs.gnu.org; Mon, 12 May 2014 01:26:54 -0400 Original-Received: from localhost.localdomain ([127.0.0.1]:41813 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.82) (envelope-from ) id 1WjilB-002n0D-OB; Mon, 12 May 2014 00:26:46 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130012 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/24.4.50 (i686-pc-cygwin) Cancel-Lock: sha1:0VnjikesaFR+PAut20AEp3oyCnQ= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: yamaoka X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88954 Archived-At: On Sun, 11 May 2014 12:15:40 -0700, Paul Eggert wrote: > Glenn Morris wrote: >> assuming we can get a newer pkg-config on hydra, I think it would be >> fine to require >= 0.26 in autogen.sh, and leave configure.ac alone. > I'd prefer that too, but in the meantime, as we are already wrapping > PKG_CHECK_MODULES, our wrapper should be able to work around the > pkg--config bug. I gave that a shot in trunk bzr 117087. > If this sort of problem keeps cropping up, though, I'd rather that we > copy pkg.m4 into our m4 directory. We've spent a lot of time lately > working around pkg-config bugs.... Now the configure script runs this: {/usr/bin/pkg-config --atleast-pkgconfig-version 0.26 || {/usr/bin/pkg-config --cflags "RSVG" "librsvg-2.0 >= 2.11.0" && /usr/bin/pkg-config --libs "RSVG" "librsvg-2.0 >= 2.11.0";}} This causes ``configure: error:''. But should it be the following? {/usr/bin/pkg-config --atleast-pkgconfig-version 0.26 || {/usr/bin/pkg-config --cflags "librsvg-2.0 >= 2.11.0" && /usr/bin/pkg-config --libs "librsvg-2.0 >= 2.11.0";}} --8<---------------cut here---------------start------------->8--- --- configure.ac~ 2014-05-11 21:58:26.922779000 +0000 +++ configure.ac 2014-05-12 05:05:26.860889700 +0000 @@ -1366,7 +1366,7 @@ emacs_check_module_ok=false AS_IF([test -n "$PKG_CONFIG" && { $PKG_CONFIG --atleast-pkgconfig-version 0.26 || - { $PKG_CONFIG --cflags "$1" "$2" && $PKG_CONFIG --libs "$1" "$2"; } + { $PKG_CONFIG --cflags "$2" && $PKG_CONFIG --libs "$2"; } } >/dev/null 2>&AS_MESSAGE_LOG_FD], [PKG_CHECK_MODULES([$1], [$2], [$1_CFLAGS=`AS_ECHO(["$$1_CFLAGS"]) | sed -e "$edit_cflags"` --8<---------------cut here---------------end--------------->8--- In GNU Emacs 24.4.50.1 (i686-pc-cygwin, GTK+ Version 3.10.7) of 2014-05-12 on localhost Repository revision: 117087 eggert@cs.ucla.edu-20140511191412-hv0l7yzg3vwh49rq Windowing system distributor `The Cygwin/X Project', version 11.0.11501000 Configured using: `configure --verbose --with-x-toolkit=gtk3' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB