From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43233 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Change default lisp and etc dirs for XEmacs Date: Fri, 22 Feb 2002 08:29:18 +1000 Organization: The XEmacs Development Team Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178359 16491 80.91.224.250 (21 Oct 2002 05:32:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:32:39 +0000 (UTC) Keywords: xemacs,gnus,flavor,emacs,lispdir,site-packages,test,etcdir Return-Path: Original-Received: (qmail 11078 invoked from network); 21 Feb 2002 22:35:42 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 21 Feb 2002 22:35:42 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16e1mm-0004eM-00; Thu, 21 Feb 2002 16:33:56 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 21 Feb 2002 16:33:55 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA29309 for ; Thu, 21 Feb 2002 16:33:39 -0600 (CST) Original-Received: (qmail 11030 invoked by alias); 21 Feb 2002 22:33:35 -0000 Original-Received: (qmail 11025 invoked from network); 21 Feb 2002 22:33:35 -0000 Original-Received: from mail007.syd.optusnet.com.au (203.2.75.231) by gnus.org with SMTP; 21 Feb 2002 22:33:35 -0000 Original-Received: from eicq.dnsalias.org (wdcax18-148.dialup.optusnet.com.au [198.142.250.148]) by mail007.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id g1LMXFr16340 for ; Fri, 22 Feb 2002 09:33:16 +1100 Original-Received: (from steve@localhost) by eicq.dnsalias.org (8.12.0.Beta7/8.12.0.Beta7) id g1LMTJ5b013839; Fri, 22 Feb 2002 08:29:19 +1000 Mail-Copies-To: never Original-To: Gnus List X-Attribution: SY X-URL: X-Face: %@A&y\ef)A6pi|q43;M>uyhO)~NP*fpdo0XrUuutf0|nku\O5JV(7EG%odc'n6}G@tYRl+B #[n,%B`.sHZ5>3MZvrm%,rWE7)c}ZXjH\>=p@AL\y\gyu|.lJ8B`F++86 Original-Lines: 76 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43233 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43233 This patch makes the default installation for XEmacs go into... /lib/xemacs/site-packages/lisp/gnus/ /lib/xemacs/site-packages/etc/gnus/ I didn't touch the info directory, but that should probably also go into... /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 + + * 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) -- |---------------------| | XEmacs - It's not just an editor. | | It's a way of life. | |---------------------------------------|