From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: pkg-config required on OSX, why? Date: Fri, 16 May 2014 15:38:48 +0200 Message-ID: <537614E8.7050401@swipnet.se> References: <5375F003.7050201@swipnet.se> <83y4y1eush.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1400247561 14461 80.91.229.3 (16 May 2014 13:39:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 13:39:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 16 15:39:15 2014 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 1WlILw-0007ZI-1P for ged-emacs-devel@m.gmane.org; Fri, 16 May 2014 15:39:12 +0200 Original-Received: from localhost ([::1]:35647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlILv-00081z-Nh for ged-emacs-devel@m.gmane.org; Fri, 16 May 2014 09:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlILn-00080m-D2 for emacs-devel@gnu.org; Fri, 16 May 2014 09:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlILh-0007dN-Ln for emacs-devel@gnu.org; Fri, 16 May 2014 09:39:03 -0400 Original-Received: from mailfe05.swip.net ([212.247.154.129]:50441 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlILb-0007ZX-11; Fri, 16 May 2014 09:38:51 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 497421007; Fri, 16 May 2014 15:38:49 +0200 Original-Received: from jdvpro.hq.ismobile.com (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id B78AA1A00CC; Fri, 16 May 2014 13:38:48 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <83y4y1eush.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.129 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:171878 Archived-At: Hi. Eli Zaretskii skrev 2014-05-16 15:07: >> Date: Fri, 16 May 2014 13:01:23 +0200 >> From: "Jan D." >> >> Why is pkg-config a requirement on OSX? > > Are you sure it is needed for building Emacs, and not just for running > autogen.sh/aclocal in order to produce the configure script when > building out of the repository? It is requred for that also, but pkg-config is run in configure also. > > The latter is indeed new, and is because configure.ac now calls a > macro that is defined by pkg.m4, which comes with pkg-config. > Yes, I saw those undefined macros (I think it was three) when trying to build without pkg-config after tweaking autogen.sh. I built pkg-config from source, but having pkg-config as a requirement form some macros must mean those macros are important. What are they? Jan D.