unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jérôme Marant" <jmarant@free.fr>
Subject: Re: [PATCH] Add --enable-locallisppath option to configure.in
Date: Wed, 18 May 2005 20:07:12 +0200	[thread overview]
Message-ID: <87oeb8o1bj.fsf@marant.org> (raw)
In-Reply-To: <87is1pmtmx.fsf@marant.org> ( Jérôme Marant's message of "Wed, 11 May 2005 21:48:06 +0200")


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érôme Marant <jmarant@free.fr> writes:

> Jérôme Marant <jmarant@free.fr> 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  <jmarant@marant.org>
+
+	* configure.in: Add --enable-locallisppath.
+
 2005-05-07  Jérôme Marant  <jerome@marant.org>
 
 	* 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)
 
+AC_ARG_ENABLE(locallisppath,
+[  --enable-locallisppath=PATH
+                          directories Emacs should search for lisp files
+                          specific to this site],
+if test "${enableval}" = "no"; then
+  locallisppath=
+elif test "${enableval}" != "yes"; then
+  locallisppath=${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


-- 
Jérôme Marant

  reply	other threads:[~2005-05-18 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-11 17:59 [PATCH] Add --enable-locallisppath option to configure.in Jérôme Marant
2005-05-11 19:48 ` Jérôme Marant
2005-05-18 18:07   ` Jérôme Marant [this message]
2005-05-18 23:33     ` Lute Kamstra
2005-05-19  7:00       ` Jérôme Marant
2005-05-19  6:49     ` Richard Stallman
2005-05-19  8:31       ` Lute Kamstra
2005-05-19 13:18         ` Jérôme Marant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oeb8o1bj.fsf@marant.org \
    --to=jmarant@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).