From: Steve Youngs <youngs@xemacs.org>
Subject: [PATCH] Change default lisp and etc dirs for XEmacs
Date: Fri, 22 Feb 2002 08:29:18 +1000 [thread overview]
Message-ID: <microsoft-free.x4664qfozl.fsf@eicq.dnsalias.org> (raw)
This patch makes the default installation for XEmacs go into...
<emacs-roots>/lib/xemacs/site-packages/lisp/gnus/
<emacs-roots>/lib/xemacs/site-packages/etc/gnus/
I didn't touch the info directory, but that should probably also go
into...
<emacs-roots>/lib/xemacs/site-packages/info/
I'll look into that some other time.
Obviously, the configure script will need to be regenerated. Which
reminds me, why is 'configure' even in CVS?
Index: ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/ChangeLog,v
retrieving revision 6.30
diff -u -w -U0 -r6.30 ChangeLog
--- ChangeLog 2002/02/01 13:18:23 6.30
+++ ChangeLog 2002/02/21 22:28:09
@@ -0,0 +1,7 @@
+2002-02-22 Steve Youngs <youngs@xemacs.org>
+
+ * aclocal.m4 (AC_PATH_LISPDIR): Default to
+ .../site-packages/lisp/gnus for XEmacs.
+ (AC_PATH_ETCDIR): Default to .../site-packages/etc/gnus for
+ XEmacs.
+
Index: aclocal.m4
===================================================================
RCS file: /usr/local/cvsroot/gnus/aclocal.m4,v
retrieving revision 6.5
diff -u -w -r6.5 aclocal.m4
--- aclocal.m4 2001/09/27 21:08:24 6.5
+++ aclocal.m4 2002/02/21 22:28:15
@@ -83,11 +83,19 @@
if test "x$theprefix" = "xNONE"; then
theprefix=$ac_default_prefix
fi
+ if test "$EMACS_FLAVOR" = "xemacs"; then
+ lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
+ else
lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
+ fi
for thedir in share lib; do
potential=
if test -d ${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp; then
- lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-lisp"
+ if test "$EMACS_FLAVOR" = "xemacs"; then
+ lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
+ else
+ lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
+ fi
break
fi
done
@@ -101,7 +109,11 @@
AC_MSG_CHECKING([where etc files should go])
if test -z "$etcdir"; then
dnl Set default value
+ if test "$EMACS_FLAVOR" = "xemacs"; then
+ etcdir="\$(lispdir)/../etc/gnus"
+ else
etcdir="\$(lispdir)/../etc"
+ fi
fi
AC_MSG_RESULT($etcdir)
AC_SUBST(etcdir)
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs@xemacs.org>---|
next reply other threads:[~2002-02-21 22:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-21 22:29 Steve Youngs [this message]
2002-02-21 22:49 ` ShengHuo ZHU
2002-02-21 23:10 ` Steve Youngs
2002-02-21 23:10 ` Steve Youngs
2002-02-21 22:49 ` ShengHuo ZHU
2002-02-21 22:29 Steve Youngs
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=microsoft-free.x4664qfozl.fsf@eicq.dnsalias.org \
--to=youngs@xemacs.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).