unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: configure's dependency on pkg-config
Date: Sat, 12 Nov 2011 23:33:18 +0100	[thread overview]
Message-ID: <87boshgedt.fsf@escher.home> (raw)
In-Reply-To: <E511DDDA-0EE6-462B-BB38-EAA0880CCFF8@swipnet.se> ("Jan Djärv"'s message of "Sat, 12 Nov 2011 15:13:49 +0100")

On Sat, 12 Nov 2011 15:13:49 +0100 Jan Djärv <jan.h.d@swipnet.se> wrote:

> Hi.
>
> 11 nov 2011 kl. 20:25 skrev Stephen Berman:
[...]
>> Is there a better way to override configure's dependency on pkg-config
>> for libraries such as libxml2, so that it would suffice to pass the
>> standard variable CPPFLAGS, LDFLAGS and LIBS?  Or if there isn't, should
>> there be?
>
> I would assume libxml2 installs its .pc-file in /usr/lib/pkgconfig (or
> similar) when you install it, so all the info is there.  So why not just
> install pkg-config?  It is a very small package.

No doubt pkg-config is convenient and of course I could install it; but
my experience shows that even though it's not necessary, you can't avoid
it by setting the recommended variables at configure time.  So this
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
and also list all of these libraries.  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); are there any platforms Emacs runs on that cannot use
pkg-config but on which Emacs could use libxml2 etc.?

Steve Berman



  reply	other threads:[~2011-11-12 22:33 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 [this message]
2011-11-12 22:59     ` Glenn Morris
2011-11-12 23:56       ` Stephen Berman
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=87boshgedt.fsf@escher.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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).