From: "Herbert J. Skuhra" <h.skuhra@gmail.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
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 12:40:21 +0100 [thread overview]
Message-ID: <86mvsqyhga.wl-h.skuhra@gmail.com> (raw)
In-Reply-To: <wlvb7fxbow.wl%mituharu@math.s.chiba-u.ac.jp>
On Thu, 31 Dec 2015 09:30:07 +0100,
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> wrote:
>
> >>>>> On Thu, 31 Dec 2015 09:05:50 +0100, "Herbert J. Skuhra" <h.skuhra@gmail.com> said:
>
> >> I'm using OS X 10.10.5 and 10.11.2 without command line developer
> >> tools installed on my laptop. Could you show me the output of the
> >> following commands?
> >>
> >> $ xcrun --show-sdk-path
> >> $ xcrun --sdk macosx --show-sdk-path
>
> > Both commands output
>
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
>
> These commands seem to work correctly. Do you happen to have (bogus)
> /usr/include? Usually that does not happen on OS X 10.11 because of
> the System Integrity Protection, but you can disable it.
>
> The Mac port has been using this code for one year
> (http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01719.html),
> but I haven't received any bug reports about it. If you don't have
> /usr/include, then please send me config.log personally.
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,
--
Herbert
next prev parent reply other threads:[~2015-12-31 11:40 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 [this message]
2015-12-31 12:02 ` YAMAMOTO Mitsuharu
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=86mvsqyhga.wl-h.skuhra@gmail.com \
--to=h.skuhra@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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.