unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Glenn Morris <rgm@gnu.org>
Cc: "Jan Djärv" <jan.h.d@swipnet.se>, emacs-devel@gnu.org
Subject: Re: configure's dependency on pkg-config
Date: Sun, 13 Nov 2011 00:56:41 +0100	[thread overview]
Message-ID: <874ny8hp3a.fsf@escher.home> (raw)
In-Reply-To: <s8zkg1t0ax.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 12 Nov 2011 17:59:02 -0500")

On Sat, 12 Nov 2011 17:59:02 -0500 Glenn Morris <rgm@gnu.org> wrote:

> Stephen Berman wrote:
>
>> seems to be at least a doc bug in INSTALL, which should explicitly say
>> that pkg-config is required in order for Emacs to use certain libraries
>
> It already says enough IMO
>
>   For some libraries, like Gtk+, fontconfig and ALSA, `configure' uses
>   pkg-config to find where those libraries are installed.

Not enough, since it doesn't mention libxml2, which was the one I was
concerned with.  And it should just list them all; there aren't that
many.  (It would also be less confusing if this dependency were stated
before mentioning the configure time variables CPPFLAGS etc., making it
clear that these only work for libraries that Emacs doesn't use
pkg-config to locate.)

>> The alternative would be to patch configure (or rather configure.in)
>> to allow setting the standard configure time variables to override
>> using pkg-config. This seems better to me in principle (though it
>> might be judged not to be worth the effort);
>
> It's not worth the effort. Just install pkg-config and move on.

If it had been documented in INSTALL I would have.

Steve Berman



  reply	other threads:[~2011-11-12 23:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 19:25 configure's dependency on pkg-config Stephen Berman
2011-11-12 14:13 ` Jan Djärv
2011-11-12 22:33   ` Stephen Berman
2011-11-12 22:59     ` Glenn Morris
2011-11-12 23:56       ` Stephen Berman [this message]
2011-11-13  0:32         ` Paul Eggert
2011-11-12 23:12     ` Jan Djärv
2011-11-12 23:56       ` Stephen Berman
2011-11-13 11:08         ` Jan Djärv
2011-11-14 14:01     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ny8hp3a.fsf@escher.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=rgm@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).