From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 17438@debbugs.gnu.org
Subject: bug#17438: xrandr linking problem on OS X
Date: Mon, 12 May 2014 14:26:43 +0900 [thread overview]
Message-ID: <b4ma9and0to.fsf@jpl.org> (raw)
In-Reply-To: <1id2fodnrh.fsf@fencepost.gnu.org>
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
next prev parent reply other threads:[~2014-05-12 5:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-08 20:22 bug#17438: xrandr linking problem on OS X Glenn Morris
2014-05-08 20:35 ` Glenn Morris
2014-05-08 20:45 ` Glenn Morris
2014-05-08 22:00 ` Glenn Morris
2014-05-09 6:44 ` Eli Zaretskii
2014-05-09 6:50 ` Glenn Morris
2014-05-11 2:30 ` Paul Eggert
2014-05-11 2:34 ` Glenn Morris
2014-05-11 3:11 ` Paul Eggert
2014-05-11 17:58 ` Glenn Morris
2014-05-11 18:12 ` Eli Zaretskii
2014-05-11 18:15 ` Glenn Morris
2014-05-11 18:21 ` Eli Zaretskii
2014-05-11 19:15 ` Paul Eggert
2014-05-12 5:26 ` Katsumi Yamaoka [this message]
2014-05-12 6:11 ` Paul Eggert
2014-05-12 23:37 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4ma9and0to.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=17438@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.