From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#16099: 24.3.50; Build failure, undefined function `cl-member' Date: Sat, 14 Dec 2013 22:32:36 +0100 Message-ID: References: <1ua9g8o9qu.fsf_-_@fencepost.gnu.org> <8338m0y2px.fsf@gnu.org> <83txegwips.fsf@gnu.org> <83iouvwbvh.fsf@gnu.org> <83a9g66nbs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1387056790 30089 80.91.229.3 (14 Dec 2013 21:33:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Dec 2013 21:33:10 +0000 (UTC) Cc: 16099@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 14 22:33:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Vrwpm-000779-OM for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 22:33:14 +0100 Original-Received: from localhost ([::1]:48673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrwpm-0007uN-At for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 16:33:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrwpf-0007u6-3R for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:33:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vrwpa-00046g-Og for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:33:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrwpa-00046a-Lc for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vrwpa-0001R1-5H for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2013 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16099 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16099-submit@debbugs.gnu.org id=B16099.13870567615483 (code B ref 16099); Sat, 14 Dec 2013 21:33:02 +0000 Original-Received: (at 16099) by debbugs.gnu.org; 14 Dec 2013 21:32:41 +0000 Original-Received: from localhost ([127.0.0.1]:50450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrwpF-0001QN-55 for submit@debbugs.gnu.org; Sat, 14 Dec 2013 16:32:41 -0500 Original-Received: from mail-la0-f53.google.com ([209.85.215.53]:61011) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrwpC-0001QE-BS for 16099@debbugs.gnu.org; Sat, 14 Dec 2013 16:32:39 -0500 Original-Received: by mail-la0-f53.google.com with SMTP id mc6so2126798lab.40 for <16099@debbugs.gnu.org>; Sat, 14 Dec 2013 13:32:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WTefKVWq8wcLSxX8pZXP5PwMstlP+wIiXfPRgTAUy/E=; b=YFwC7e1mucw7iykA/MIbHE4+XCufIzMP08gBeQdPmcOe0j10ChBIZJEo7NIXtS74nG YTwmA76CeebuXhBb3C+8AZdG2MkMqgxHZHerNGPBrWh9E6jq8tRlfhBxhgWeviUpF7mC L5U3Eyt8zlCaNQF0wq6dcRARskyGUNbTBeKqP48MSYgG7JDH/9kwQRXzE1xSb0GTLpzh eF4LQok7E5BW8pDfdCsjr9HfERQEojmYHGpFNtrpzfgAgSxn7FXGjCquIXGGy64VXsMq rXXPNiUVwEJF13R3LH/T1hswVasU8ZU0h7xxmETqeyUSifH6i4FyYGddNUz4+xCHz0hM NqZA== X-Received: by 10.112.138.98 with SMTP id qp2mr5393lbb.82.1387056756736; Sat, 14 Dec 2013 13:32:36 -0800 (PST) Original-Received: by 10.114.59.36 with HTTP; Sat, 14 Dec 2013 13:32:36 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81991 Archived-At: On Sat, Dec 14, 2013 at 9:08 PM, Glenn Morris wrote: > > The only comment I'd make is: can you restrict doing this to when srcdir > is absolute to start with? Which must mean the user has specified an > absolute path to configure's srcdir, which I would imagine to be rare. > On Unix systems, this would be trivial - just check if srcdir starts > with "/". I don't know what you need to do for MS. I think that the patch below would do it. > Forcing srcdir to be absolute all the time will eg break using a srcdir > with spaces in. I don't understand this. For example if the original value of srcdir was "../my nice repo", with the current trunk it would be translated to something like "/c/foo/bar/my nice repo". What breakage might it cause? diff --git a/configure.ac b/configure.ac index 2e9eee6..0c4b98b 100644 --- a/configure.ac +++ b/configure.ac @@ -28,11 +28,14 @@ if test "x$MSYSTEM" = "xMINGW32" then . $srcdir/nt/mingw-cfg.site - # Convert srcdir to an absolute MSYS path of the form "/c/foo/bar" - # to simplify later conversions of paths to windows-native format - # "c:/foo/bar" - srcdir=`cd "${srcdir}" && pwd -W` - srcdir="/${srcdir:0:1}${srcdir:2}" + if test ${srcdir:0:1} = "/" -o ${srcdir:1:1} = ":" + then + # srcdir is an absolute path. In this case, force the format + # "/c/foo/bar", to simplify later conversions to native Windows + # format ("c:/foo/bar") + srcdir=`cd "${srcdir}" && pwd -W` + srcdir="/${srcdir:0:1}${srcdir:2}" + fi fi dnl Set emacs_config_options to the options of 'configure', quoted for the shell, -- Dani Moncayo