From: Stephen Zander <gibreel@pobox.com>
Cc: ding@gnus.org
Subject: Re: [PATCH] Non-standard lispdir
Date: 11 Dec 1998 00:47:59 -0800 [thread overview]
Message-ID: <8767bjyshs.fsf@wsfs05.mckesson.com> (raw)
In-Reply-To: Lloyd Zusman's message of "09 Dec 1998 23:20:12 -0500"
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
>>>>> "Lloyd" == Lloyd Zusman <ljz@asfast.com> writes:
Lloyd> Yes ... I know I can do this, but I was hoping to make this
Lloyd> part of `configure' so I only have to type the lisp
Lloyd> directory once (during initial configuration), and then
Lloyd> call `make' as follows:
Like the attached patch does, perhaps? :)
Note that it's actually --with-lispdir, rather than --lispdir but five
extra characters won't kill you.
This patch also fixes configure's long-standing inability to correctly
detect xemacs.
BTW, I love the MIME stuff, Lars :)
[-- Attachment #2: Patch to configure.in --]
[-- Type: text/plain, Size: 353 bytes --]
--- configure.in Sat Aug 29 10:55:03 1998
+++ configure.in.new Fri Dec 11 00:33:33 1998
@@ -1,6 +1,7 @@
AC_INIT(lisp/gnus.el)
AC_SET_MAKE
AC_PROG_INSTALL
+AC_ARG_WITH(lispdir, [ --with-lispdir=DIR put .el & .elc files in DIR [DATA/emacs]])
AM_PATH_LISPDIR
AC_PATH_PROG(MAKEINFO, makeinfo, no)
AC_OUTPUT(Makefile lisp/Makefile texi/Makefile)
[-- Attachment #3: Patch to aclocal.m4 --]
[-- Type: text/plain, Size: 1806 bytes --]
--- aclocal.m4 Sat Aug 29 10:55:03 1998
+++ aclocal.m4.new Fri Dec 11 00:41:45 1998
@@ -4,27 +4,31 @@
[# If set to t, that means we are running in a shell under Emacs.
# If you have an Emacs named "t", then use the full path.
test "$EMACS" = t && EMACS=
- AC_PATH_PROG(EMACS, emacs xemacs, no)
+ AC_PATH_PROGS(EMACS, emacs xemacs, no)
if test $EMACS != "no"; then
AC_MSG_CHECKING([where .elc files should go])
dnl Set default value
- lispdir="\$(datadir)/emacs/site-lisp"
- if test "x$prefix" = "xNONE"; then
- if test -d $ac_default_prefix/share/emacs/site-lisp; then
- lispdir="\$(prefix)/share/emacs/site-lisp"
+ if test "x$with_lispdir" = "x"; then
+ lispdir="\$(datadir)/emacs/site-lisp"
+ if test "x$prefix" = "xNONE"; then
+ if test -d $ac_default_prefix/share/emacs/site-lisp; then
+ lispdir="\$(prefix)/share/emacs/site-lisp"
+ else
+ if test -d $ac_default_prefix/lib/emacs/site-lisp; then
+ lispdir="\$(prefix)/lib/emacs/site-lisp"
+ fi
+ fi
else
- if test -d $ac_default_prefix/lib/emacs/site-lisp; then
- lispdir="\$(prefix)/lib/emacs/site-lisp"
- fi
+ if test -d $prefix/share/emacs/site-lisp; then
+ lispdir="\$(prefix)/share/emacs/site-lisp"
+ else
+ if test -d $prefix/lib/emacs/site-lisp; then
+ lispdir="\$(prefix)/lib/emacs/site-lisp"
+ fi
+ fi
fi
else
- if test -d $prefix/share/emacs/site-lisp; then
- lispdir="\$(prefix)/share/emacs/site-lisp"
- else
- if test -d $prefix/lib/emacs/site-lisp; then
- lispdir="\$(prefix)/lib/emacs/site-lisp"
- fi
- fi
+ lispdir="$with_lispdir"
fi
AC_MSG_RESULT($lispdir)
fi
[-- Attachment #4: Type: text/plain, Size: 93 bytes --]
--
Stephen
---
It should be illegal to yell "Y2K" in a crowded economy. :-) -- Larry Wall
prev parent reply other threads:[~1998-12-11 8:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-05 12:45 Lloyd Zusman
1998-12-05 13:42 ` Karl Eichwalder
1998-12-10 4:20 ` Lloyd Zusman
1998-12-10 21:09 ` Karl Eichwalder
1998-12-11 8:47 ` Stephen Zander [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8767bjyshs.fsf@wsfs05.mckesson.com \
--to=gibreel@pobox.com \
--cc=ding@gnus.org \
/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.
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 NNTP newsgroup(s).