unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: "Herbert J. Skuhra" <h.skuhra@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs-25 89e7483: * configure.ac: Find libxml2	headers in Xcode SDK dir on Darwin.
Date: Thu, 31 Dec 2015 21:02:46 +0900	[thread overview]
Message-ID: <wlr3i2ygex.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <86mvsqyhga.wl-h.skuhra@gmail.com>

>>>>> On Thu, 31 Dec 2015 12:40:21 +0100, "Herbert J. Skuhra" <h.skuhra@gmail.com> said:

> How about?

> diff --git a/configure.ac b/configure.ac
> index 9c783e6..d9e75e3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3610,8 +3610,6 @@ AC_SUBST(XFIXES_LIBS)
>  ### mingw32 doesn't use -lxml2, since it loads the library dynamically.
>  HAVE_LIBXML2=no
>  if test "${with_xml2}" != "no"; then
> -  ### I'm not sure what the version number should be, so I just guessed.
> -  EMACS_CHECK_MODULES([LIBXML2], [libxml-2.0 > 2.6.17])
>    # Built-in libxml2 on OS X 10.8 lacks libxml-2.0.pc.
>    if test "${HAVE_LIBXML2}" != "yes" && test "$opsys" = "darwin"; then
>      SAVE_CPPFLAGS="$CPPFLAGS"
> @@ -3633,6 +3631,8 @@ if test "${with_xml2}" != "no"; then
>        LIBXML2_LIBS="-lxml2"
>      fi
>    fi
> +  ### I'm not sure what the version number should be, so I just guessed.
> +  EMACS_CHECK_MODULES([LIBXML2], [libxml-2.0 > 2.6.17])
>    if test "${HAVE_LIBXML2}" = "yes"; then
>      if test "${opsys}" != "mingw32"; then
>        AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, HAVE_LIBXML2=no,

No.  If the commands below return wrong results, then you should fix
libxml-2.0.pc and/or set PKG_CONFIG_PATH properly.

  $ pkg-config --cflags "libxml-2.0 > 2.6.17"
  $ pkg-config --libs "libxml-2.0 > 2.6.17"

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp



      reply	other threads:[~2015-12-31 12:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20151231013824.31455.77904@vcs.savannah.gnu.org>
     [not found] ` <E1aESC8-0008C9-BI@vcs.savannah.gnu.org>
2015-12-31  6:31   ` [Emacs-diffs] emacs-25 89e7483: * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin Herbert J. Skuhra
2015-12-31  7:16     ` YAMAMOTO Mitsuharu
2015-12-31  8:05       ` Herbert J. Skuhra
2015-12-31  8:30         ` YAMAMOTO Mitsuharu
2015-12-31 10:08           ` Herbert J. Skuhra
2015-12-31 11:40           ` Herbert J. Skuhra
2015-12-31 12:02             ` YAMAMOTO Mitsuharu [this message]

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=wlr3i2ygex.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    --cc=h.skuhra@gmail.com \
    /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).