From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#17438: xrandr linking problem on OS X Date: Sun, 11 May 2014 13:58:15 -0400 Message-ID: <2c7g5skxjc.fsf@fencepost.gnu.org> References: <1id2fodnrh.fsf@fencepost.gnu.org> <536EE0BD.3000902@cs.ucla.edu> <536EEA53.7020605@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 1399831162 22802 80.91.229.3 (11 May 2014 17:59:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2014 17:59:22 +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 Sun May 11 19:59:17 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 1WjY1r-0003cj-Ah for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 19:59:15 +0200 Original-Received: from localhost ([::1]:33856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjY1r-0006Yq-1Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 13:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjY1m-0006Ya-OV for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 13:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjY1e-0000zo-Qa for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 13:59:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjY1e-0000zk-Nw for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 13:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjY1e-0002GW-Hg for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 13:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 May 2014 17:59: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.13998310998649 (code B ref 17438); Sun, 11 May 2014 17:59:02 +0000 Original-Received: (at 17438) by debbugs.gnu.org; 11 May 2014 17:58:19 +0000 Original-Received: from localhost ([127.0.0.1]:59527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjY0w-0002FQ-Ge for submit@debbugs.gnu.org; Sun, 11 May 2014 13:58:18 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49236 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjY0u-0002FG-DZ for 17438@debbugs.gnu.org; Sun, 11 May 2014 13:58:17 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WjY0t-0002tr-8w; Sun, 11 May 2014 13:58:15 -0400 X-Spook: Venezuela M-14 advisors corporate security cryptanalysis X-Ran: z!oac|D"y?"!i)pDU7s9P4oJ*+8INC6-,1>X`a";u8Q02@;5pFo|k#kxcoq6SM#5($ZI`4 X-Hue: blue X-Attribution: GM In-Reply-To: <536EEA53.7020605@cs.ucla.edu> (Paul Eggert's message of "Sat, 10 May 2014 20:11:15 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:88912 Archived-At: Paul Eggert wrote: >> Does configure.ac really need to require this version of pkg-config, or just autogen.sh? > > If the xrandr configuration is failing due to a bug in older > pkg-config versions, this suggests that configure.ac really needs the > newer pkg-config. But it's not failing in that way in the emacs-24 branch on hydra, which also uses pkg-config 0.23. So the problem is in pkg.m4 that older pkg-config supply, not the pkg-config program. I think it's that they don't do the equivalent of --exists && --cflags && --libs https://bugs.freedesktop.org/show_bug.cgi?id=29801 > I suppose we could go back to the emacs-24 way of doing things, and > use or own PKG_CHECK_MODULES macro. I think this is equivalent to my suggestion of copying pkg.m4 from a recent pkg-config into our m4 directory. But 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.