From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert J. Skuhra" Newsgroups: gmane.emacs.devel 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 Message-ID: <86mvsqyhga.wl-h.skuhra@gmail.com> References: <20151231013824.31455.77904@vcs.savannah.gnu.org> <86si2jxh74.wl-h.skuhra@gmail.com> <86r3i3xctd.wl-h.skuhra@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1451562047 29227 80.91.229.3 (31 Dec 2015 11:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Dec 2015 11:40:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 31 12:40:41 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aEbay-00085x-CI for ged-emacs-devel@m.gmane.org; Thu, 31 Dec 2015 12:40:40 +0100 Original-Received: from localhost ([::1]:55431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEbax-0003sI-Py for ged-emacs-devel@m.gmane.org; Thu, 31 Dec 2015 06:40:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEbaj-0003l1-3L for emacs-devel@gnu.org; Thu, 31 Dec 2015 06:40:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEbai-0000o9-0M for emacs-devel@gnu.org; Thu, 31 Dec 2015 06:40:25 -0500 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:34716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEbah-0000nz-Pd for emacs-devel@gnu.org; Thu, 31 Dec 2015 06:40:23 -0500 Original-Received: by mail-wm0-x22b.google.com with SMTP id u188so64201523wmu.1 for ; Thu, 31 Dec 2015 03:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version:content-type; bh=xjbnycS+ubPTnCF6XX3jCJ2+hmkUsAmEFebMI83XGLo=; b=z38Ye+86aAJO2y8yEiUazkMTsHRvjr2VTCWZ6Ej3cevdhZBByoSDrucTUD1APofpPh 64/AmV/aIuScIw48r5x/SMW/MKE0I0E9jGAJn4Cm4tg9Sk+s12cxuCtHpszNb7nmBoZE wlfmOB1Vw+4RZsayogTqZogRJgYJsjVsnvCOhzpg+2VWEZd+LA7tdK9X67SQz8nksZoH eTXcunMSnpU33maMoqEPspnVWj53xMPp+QW9S5eal0HTLa/oxV3YJJb7QvjyZoI5iQfF kHwgl9kbg04BpCW50WOsxBppYqORIh+Rr+UItdmCn7YDCLrxsV9gqlis084lgYMPBACC Cfhw== X-Received: by 10.194.113.102 with SMTP id ix6mr64584065wjb.143.1451562023119; Thu, 31 Dec 2015 03:40:23 -0800 (PST) Original-Received: from oslo.ath.cx ([2a02:b18:581:10:3502:32b5:2146:8907]) by smtp.gmail.com with ESMTPSA id e62sm61168905wma.11.2015.12.31.03.40.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Dec 2015 03:40:22 -0800 (PST) In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.0.50 (i386-pc-freebsd10.2) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197248 Archived-At: On Thu, 31 Dec 2015 09:30:07 +0100, YAMAMOTO Mitsuharu wrote: > > >>>>> On Thu, 31 Dec 2015 09:05:50 +0100, "Herbert J. Skuhra" 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