GNU bug report logs - #17438
xrandr linking problem on OS X

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 8 May 2014 20:23:01 UTC

Severity: important

Found in version 24.4.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 17438 <at> debbugs.gnu.org
Subject: bug#17438: xrandr linking problem on OS X
Date: Sun, 11 May 2014 13:58:15 -0400
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.




This bug report was last modified 11 years and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.