(gnus-get-newsgroup-headers): Don't bind the value of
[elisp/gnus.git-] / aclocal.m4
index b56880a..c37987d 100644 (file)
@@ -4,25 +4,25 @@ AC_DEFUN(AM_PATH_LISPDIR,
  [# 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"
+    lispdir="\$(datadir)/emacs/site-lisp/gnus"
     if test "x$prefix" = "xNONE"; then
       if test -d $ac_default_prefix/share/emacs/site-lisp; then
-       lispdir="\$(prefix)/share/emacs/site-lisp"
+       lispdir="\$(prefix)/share/emacs/site-lisp/gnus"
       else
        if test -d $ac_default_prefix/lib/emacs/site-lisp; then
-         lispdir="\$(prefix)/lib/emacs/site-lisp"
+         lispdir="\$(prefix)/lib/emacs/site-lisp/gnus"
        fi
       fi
     else
       if test -d $prefix/share/emacs/site-lisp; then
-       lispdir="\$(prefix)/share/emacs/site-lisp"
+       lispdir="\$(prefix)/share/emacs/site-lisp/gnus"
       else
        if test -d $prefix/lib/emacs/site-lisp; then
-         lispdir="\$(prefix)/lib/emacs/site-lisp"
+         lispdir="\$(prefix)/lib/emacs/site-lisp/gnus"
        fi
       fi
     fi