Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Change default lisp and etc dirs for XEmacs
@ 2002-02-21 22:29 Steve Youngs
  0 siblings, 0 replies; 6+ messages in thread
From: Steve Youngs @ 2002-02-21 22:29 UTC (permalink / 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>---|



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Change default lisp and etc dirs for XEmacs
  2002-02-21 22:49 ` ShengHuo ZHU
  2002-02-21 23:10   ` Steve Youngs
@ 2002-02-21 23:10   ` Steve Youngs
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Youngs @ 2002-02-21 23:10 UTC (permalink / raw)


|--==> "ZSH" == ShengHuo ZHU <zsh@cs.rochester.edu> writes:

  ZSH> Steve Youngs <youngs@xemacs.org> writes:
  >>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/

  ZSH> Applied. Thanks.

You're welcome.

  >>Which reminds me, why is 'configure' even in CVS?

  ZSH> It is because it is not required for Gnus CVS users to install
  ZSH> autoconf and file configure is rarely modified.

Fair enough.  I'm too used to packages that put that requirement on
their users.

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<youngs@xemacs.org>---|



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Change default lisp and etc dirs for XEmacs
  2002-02-21 22:49 ` ShengHuo ZHU
@ 2002-02-21 23:10   ` Steve Youngs
  2002-02-21 23:10   ` Steve Youngs
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Youngs @ 2002-02-21 23:10 UTC (permalink / raw)


|--==> "ZSH" == ShengHuo ZHU <zsh@cs.rochester.edu> writes:

  ZSH> Steve Youngs <youngs@xemacs.org> writes:
  >>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/

  ZSH> Applied. Thanks.

You're welcome.

  >>Which reminds me, why is 'configure' even in CVS?

  ZSH> It is because it is not required for Gnus CVS users to install
  ZSH> autoconf and file configure is rarely modified.

Fair enough.  I'm too used to packages that put that requirement on
their users.

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<youngs@xemacs.org>---|



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Change default lisp and etc dirs for XEmacs
  2002-02-21 22:29 Steve Youngs
  2002-02-21 22:49 ` ShengHuo ZHU
@ 2002-02-21 22:49 ` ShengHuo ZHU
  1 sibling, 0 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2002-02-21 22:49 UTC (permalink / raw)


Steve Youngs <youngs@xemacs.org> writes:

> 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/

Applied. Thanks.

> 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?

It is because it is not required for Gnus CVS users to install
autoconf and file configure is rarely modified.

ShengHuo



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Change default lisp and etc dirs for XEmacs
  2002-02-21 22:29 Steve Youngs
@ 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
  1 sibling, 2 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2002-02-21 22:49 UTC (permalink / raw)


Steve Youngs <youngs@xemacs.org> writes:

> 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/

Applied. Thanks.

> 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?

It is because it is not required for Gnus CVS users to install
autoconf and file configure is rarely modified.

ShengHuo



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] Change default lisp and etc dirs for XEmacs
@ 2002-02-21 22:29 Steve Youngs
  2002-02-21 22:49 ` ShengHuo ZHU
  2002-02-21 22:49 ` ShengHuo ZHU
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Youngs @ 2002-02-21 22:29 UTC (permalink / 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>---|



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-02-21 23:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-21 22:29 [PATCH] Change default lisp and etc dirs for XEmacs Steve Youngs
  -- strict thread matches above, loose matches on Subject: below --
2002-02-21 22:29 Steve Youngs
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

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).