From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: build-specific lisp files (generated by configure) Date: Sat, 29 Mar 2014 16:20:31 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396124467 16768 80.91.229.3 (29 Mar 2014 20:21:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2014 20:21:07 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 21:21:01 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 1WTzkR-0005Nl-Sh for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2014 21:20:59 +0100 Original-Received: from localhost ([::1]:41085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTzkR-0000Wn-Eo for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2014 16:20:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTzkI-0000Vl-1G for emacs-devel@gnu.org; Sat, 29 Mar 2014 16:20:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTzkA-0000ox-IQ for emacs-devel@gnu.org; Sat, 29 Mar 2014 16:20:49 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTzk2-0000kZ-DI; Sat, 29 Mar 2014 16:20:34 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s2TKKWGb011733; Sat, 29 Mar 2014 16:20:32 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D8025601F5; Sat, 29 Mar 2014 16:20:31 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Sat, 29 Mar 2014 15:42:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4896=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4896> : inlines <663> : streams <1147341> : uri <1714045> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:171170 Archived-At: >>> It's not important, but I wondered if anyone had an idea for a solution? >> I'd guess the solution is to introduce a build-specific lisp directory, >> alongside ${archlibdir}. > Yes, but what would it even be called? > It's name would depend on the specific configure options used. Yuck. > So I guess the idea doesn't work. Oh well. I'm not sure I completely understand the issue, but could we generate the file in src/config.el and then from loadup.el load it via (expand-file-name "src/config.el" source-directory)? Of course, if this src/config.el is where source-directory is defined, we'll need to pass the /foo/src/config.el name from src/Makefile to the temacs process on the command line. Stefan