From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?q?J=E9r=F4me_Marant?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add --enable-locallisppath option to configure.in Date: Wed, 18 May 2005 20:07:12 +0200 Message-ID: <87oeb8o1bj.fsf@marant.org> References: <87u0l9mynh.fsf@marant.org> <87is1pmtmx.fsf@marant.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1116446646 24926 80.91.229.2 (18 May 2005 20:04:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 20:04:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 18 22:03:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYUlQ-0005z2-GE for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 22:03:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYUg0-0004WI-7T for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 15:57:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYT6s-00027T-4y for emacs-devel@gnu.org; Wed, 18 May 2005 14:17:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYT6p-00025o-GI for emacs-devel@gnu.org; Wed, 18 May 2005 14:17:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYT6n-0001t7-HH for emacs-devel@gnu.org; Wed, 18 May 2005 14:17:30 -0400 Original-Received: from [213.228.0.62] (helo=postfix4-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DYT4R-0002Mo-O0 for emacs-devel@gnu.org; Wed, 18 May 2005 14:15:04 -0400 Original-Received: from amboise (mol92-4-82-227-97-206.fbx.proxad.net [82.227.97.206]) by postfix4-1.free.fr (Postfix) with ESMTP id C93F6317DF3 for ; Wed, 18 May 2005 20:06:43 +0200 (CEST) Original-Received: by amboise (Postfix, from userid 1000) id 7DEB52C03E; Wed, 18 May 2005 20:07:13 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: <87is1pmtmx.fsf@marant.org> ( =?iso-8859-15?q?J=E9r=F4me_Marant's_message_of?= "Wed, 11 May 2005 21:48:06 +0200") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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: news.gmane.org gmane.emacs.devel:37290 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37290 Hi, Would anybody be kind to either consider or reject this small patch or maybe propose a better way to achieve the goal? I haven't read any comment so far. (Here is an update) Thanks in advance. J=E9r=F4me Marant writes: > J=E9r=F4me Marant writes: > >> Hi, >> >> Currently, only the configure script generates epaths, by calling the >> 'epaths-force' target of the Makefile. >> >> However, it is not possible to customize the value of the >> locallisppath variable in order to include it in epaths at >> configure-time, which makes necessary to re-run 'make epaths-force' >> with a customized locallisppath. >> >> The following patch adds a --enable-locallisppath option for this >> purpose. It attemps to follow the --enable-* options semantic: > > This one should be better: diff -ur emacs.orig/ChangeLog emacs/ChangeLog --- emacs.orig/ChangeLog 2005-05-10 22:28:12.000000000 +0200 +++ emacs/ChangeLog 2005-05-18 20:01:34.388771568 +0200 @@ -1,3 +1,7 @@ +2005-05-11 Jerome Marant + + * configure.in: Add --enable-locallisppath. + 2005-05-07 J=E9r=F4me Marant =20 * make-dist: Remove references to makefile.nt and makefile.def. diff -ur emacs.orig/configure.in emacs/configure.in --- emacs.orig/configure.in 2005-04-23 19:02:09.000000000 +0200 +++ emacs/configure.in 2005-05-18 20:02:51.733013456 +0200 @@ -142,6 +142,16 @@ fi AC_SUBST(MAINT) =20 +AC_ARG_ENABLE(locallisppath, +[ --enable-locallisppath=3DPATH + directories Emacs should search for lisp files + specific to this site], +if test "${enableval}" =3D "no"; then + locallisppath=3D +elif test "${enableval}" !=3D "yes"; then + locallisppath=3D${enableval} +fi) + #### Make srcdir absolute, if it isn't already. It's important to #### avoid running the path through pwd unnecessarily, since pwd can #### give you automounter prefixes, which can go away. We do all this --=20 J=E9r=F4me Marant