From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Fredriksson Newsgroups: gmane.emacs.devel Subject: configure.in/darwin: remove fink dependency? Date: Fri, 11 Feb 2005 01:31:05 +0100 Message-ID: <3e1a81be655c454f2e830db588446f90@rfc.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108082536 2156 80.91.229.6 (11 Feb 2005 00:42:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2005 00:42:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 01:42:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CzOss-0004Hx-00 for ; Fri, 11 Feb 2005 01:42:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzP7g-0008EC-Tt for ged-emacs-devel@m.gmane.org; Thu, 10 Feb 2005 19:57:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzP63-00078m-4X for emacs-devel@gnu.org; Thu, 10 Feb 2005 19:55:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzP5r-00073v-D7 for emacs-devel@gnu.org; Thu, 10 Feb 2005 19:55:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzP5r-00073s-Ac for emacs-devel@gnu.org; Thu, 10 Feb 2005 19:55:35 -0500 Original-Received: from [195.47.254.20] (helo=mail.rfc.se) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CzOiE-0005wq-RB for emacs-devel@gnu.org; Thu, 10 Feb 2005 19:31:11 -0500 Original-Received: from [10.15.100.51] (c273a.g-ml.bostream.se [212.181.21.101]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.rfc.se (Postfix) with ESMTP id BA0915A14 for ; Fri, 11 Feb 2005 01:31:07 +0100 (CET) Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.619.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:33227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33227 In configure.in, for powerpc-apple-darwin, I believe that "using fink packages if available" should be removed. There is no use for that (as far as I know?) since the needed packages (I think it's only ncurses) are part of the normal development environment. The problem with using fink packages is when one builds on a machine with fink present. The resulting binary will have dynamic dependencies to "/sw/lib/..." which might not exist on other machines. I suggest following patch: --- configure.in.orig Fri Feb 11 01:19:29 2005 +++ configure.in Fri Feb 11 01:19:58 2005 @@ -1126,12 +1126,6 @@ machine=powermac opsys=darwin # Define CPP as follows to make autoconf work correctly. CPP="${CC-cc} -E -no-cpp-precomp" - # Use fink packages if available. - if test -d /sw/include && test -d /sw/lib; then - GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib" - CPP="${CPP} ${GCC_TEST_OPTIONS}" - NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS} - fi ;; ## AMD x86-64 Linux-based GNU system Note the question mark in the subject. Anyone think this should be kept there? /m -- Martin Fredriksson , 0730-59 77 00