Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 17810 invoked from network); 16 Jan 2005 18:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jan 2005 18:06:42 -0000 Received: (qmail 99511 invoked by uid 500); 16 Jan 2005 18:06:39 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 99428 invoked by uid 500); 16 Jan 2005 18:06:38 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 99376 invoked by uid 99); 16 Jan 2005 18:06:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from scotch.ics.uci.edu (HELO scotch.ics.uci.edu) (128.195.24.168) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 16 Jan 2005 10:06:37 -0800 Received: from scotch.ics.uci.edu (localhost [127.0.0.1]) by scotch.ics.uci.edu (8.12.11/8.12.11) with ESMTP id j0GI6G2j019382 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 16 Jan 2005 10:06:16 -0800 (PST) Received: (from jerenk@localhost) by scotch.ics.uci.edu (8.12.6/8.12.6/Submit) id j0GI6G2s019381 for dev@apr.apache.org; Sun, 16 Jan 2005 10:06:16 -0800 (PST) X-Authentication-Warning: scotch.ics.uci.edu: jerenk set sender to justin@erenkrantz.com using -f Date: Sun, 16 Jan 2005 10:06:16 -0800 From: Justin Erenkrantz To: dev@apr.apache.org Subject: Re: svn commit: r125162 - /apr/apr/trunk/buildconf Message-ID: <20050116180616.GL12871@scotch.ics.uci.edu> Mail-Followup-To: Justin Erenkrantz , dev@apr.apache.org References: <20050114102549.37067.qmail@minotaur.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050114102549.37067.qmail@minotaur.apache.org> User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0-r105955 X-Spam-Checker-Version: SpamAssassin 3.1.0-r105955 (2004-11-20) on scotch.ics.uci.edu X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, Jan 14, 2005 at 10:25:49AM -0000, martin@apache.org wrote: > @@ -45,8 +45,9 @@ > if [ -f libtool.m4 ]; then > ltfile=`pwd`/libtool.m4 > else > - ltpath=`dirname $libtoolize` > - ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4} > + libtool=`build/PrintPath glibtool libtool libtool15 libtool14` > + ltpath=`dirname $libtool` > + ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/`basename $libtool`.m4} > fi This busts on Darwin as it uses libtool.m4 even though libtool is glibtool. And, libtoolize is usually going to be in the same location as libtool, so why the need for the extra PrintPath call? I think the right way to do it is to first check for libtool.m4, then check for 'echo $libtoolize | sed -e s/ize//g'.m4 in the aclocal dir. -- justin