Hi,

I downloaded [EMAIL PROTECTED] and
I found an error in type test of emacs version.

Without any argument to ./configure, my lisp/Makefile wants install
files for xemacs instead of GNU Emacs.

EMACS_PROG = emacs -no-site-file -no-init-file
EMACS_TYPE = gnuemacs
EMACS_VERSION = 21.3.1

# Other settings
OTHERDIRS = contrib OTHERDIRS
SYMLINKS = no
LINKPATH = 

ifeq (gnuemacs,gnuemacs)
SRCS = xtla.el xtla-core.el xtla-defs.el
XSRCS = xtla-version.el xtla-autoloads.el
PACKAGEDIR = /home/stephane/.xemacs/xemacs-packages/emacs-lisp
else
SRCS = xtla.el xtla-core.el xtla-defs.el xtla-xemacs.el
XSRCS = xtla-version.el auto-autoloads.el custom-load.el contrib/ewoc.el
PACKAGEDIR = /home/stephane/.xemacs/xemacs-packages/xtla/lisp
endif

The fix is :

--- orig/configure.ac
+++ mod/configure.ac
@@ -156,7 +156,7 @@
     # EMACS DEPENDENT SETTINGS ####################################
     # We may add a version check here ...
     AC_MSG_RESULT([${EMACS_VERSION}])
-    if test "x${EMACS_TYPE}" = "xxemacs" ; then
+    if test "x${EMACS_TYPE}" = "xgnuemacs" ; then
       PACKAGEDIR="${HOME}"
     else
       PACKAGEDIR="${HOME}/.xemacs/xemacs-packages"

NB : I don't know if gnuemacs have other names than gnuemacs.

Bye,

Stephane Raimbault



Reply via email to