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 18:50:51 +0200 Message-ID: <537641EB.5000905@swipnet.se> References: <5375F003.7050201@swipnet.se> <83y4y1eush.fsf@gnu.org> <537614E8.7050401@swipnet.se> <53761FBA.1090709@cs.ucla.edu> <53763447.8050605@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1400259084 26515 80.91.229.3 (16 May 2014 16:51:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 16:51:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 16 18:51:17 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 1WlLLo-0002Hc-8i for ged-emacs-devel@m.gmane.org; Fri, 16 May 2014 18:51:16 +0200 Original-Received: from localhost ([::1]:36881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlLLn-00073a-TW for ged-emacs-devel@m.gmane.org; Fri, 16 May 2014 12:51:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlLLe-0006yt-65 for emacs-devel@gnu.org; Fri, 16 May 2014 12:51:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlLLW-0002la-Mx for emacs-devel@gnu.org; Fri, 16 May 2014 12:51:06 -0400 Original-Received: from mailfe06.swip.net ([212.247.154.161]:38900 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlLLW-0002l7-Gb for emacs-devel@gnu.org; Fri, 16 May 2014 12:50:58 -0400 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 499789561; Fri, 16 May 2014 18:50:55 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <53763447.8050605@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.161 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:171887 Archived-At: Hello. Paul Eggert skrev 2014-05-16 17:52: > Paul Eggert wrote: >> I'm inclined to have us copy pkg.m4 into m4 > > I installed something along those lines, as trunk bzr 117116, so you > shouldn't need pkg-config on OS X any more. Thanks for your effort, but something is not right. Configure detects that no ALSA is present, but still goes ahead and tries to compile an ALSA program: checking for ALSA... no configure: error: pkg-config found alsa, but it does not compile. See config.log for error messages. A sh -x on configure gives: + ALSA_REQUIRED=1.0.0 + ALSA_MODULES='alsa >= 1.0.0' + pkg_failed=no + printf '%s\n' 'configure:9554: checking for ALSA' + printf %s 'checking for ALSA... ' + test -n '' + test -n '' + pkg_failed=untried + test -n '' + test -n '' + pkg_failed=untried + test untried = yes + test untried = untried + printf '%s\n' 'configure:9613: result: no' + printf '%s\n' no + : + HAVE_ALSA=yes So HAVE_ALSA becomes yes, even if it printed no on the line before. Let me know if you need any more debugging help. Jan D.