2002-02-22 Steve Youngs <youngs@xemacs.org>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 21 Feb 2002 22:45:51 +0000 (22:45 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 21 Feb 2002 22:45:51 +0000 (22:45 +0000)
* aclocal.m4 (AC_PATH_LISPDIR): Default to
.../site-packages/lisp/gnus for XEmacs.
(AC_PATH_ETCDIR): Default to .../site-packages/etc/gnus for
XEmacs.

ChangeLog
aclocal.m4

index 37e9f3f..3910cd5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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. 
+
 2002-02-01  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * etc/gnus/gnus.xpm: Remove some garbages at the end of the file.
 2002-02-01  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * etc/gnus/gnus.xpm: Remove some garbages at the end of the file.
index 6307910..f68b844 100644 (file)
@@ -83,11 +83,19 @@ AC_DEFUN(AC_PATH_LISPDIR, [
     if test "x$theprefix" = "xNONE"; then
        theprefix=$ac_default_prefix
     fi
     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"
     lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
+    fi
     for thedir in share lib; do
        potential=
        if test -d ${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp; then
     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
           break
        fi
     done
@@ -101,7 +109,11 @@ AC_DEFUN(AC_PATH_ETCDIR, [
   AC_MSG_CHECKING([where etc files should go])
   if test -z "$etcdir"; then
     dnl Set default value
   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"
     etcdir="\$(lispdir)/../etc"
+    fi
   fi
   AC_MSG_RESULT($etcdir)
   AC_SUBST(etcdir)
   fi
   AC_MSG_RESULT($etcdir)
   AC_SUBST(etcdir)