AM_PATH_LISPDIR
AC_PATH_PROG(MAKEINFO, makeinfo, no)
-ADDITIONAL_LOAD_PATH="NONE"
+ADDITIONAL_LOAD_PATH=
AC_ARG_WITH(
addpath,
[ --with-addpath=PATH search Emacs-Lisp libraries with PATH
)
AC_SUBST(ADDITIONAL_LOAD_PATH)
-AC_OUTPUT(Makefile lisp/Makefile lisp/paths.el texi/Makefile)
+XEMACS="xemacs"
+AC_ARG_WITH(
+ xemacs,
+ [ --with-xemacs=XEMACS compile with XEMACS [XEMACS=xemacs]],
+ XEMACS=$with_xemacs,
+)
+AC_SUBST(XEMACS)
+
+PACKAGEDIR=
+AC_ARG_WITH(
+ packagedir,
+ [ --with-packagedir=DIR package DIR for XEmacs [guessed]],
+ PACKAGEDIR=$with_packagedir,
+)
+AC_SUBST(PACKAGEDIR)
+
+AC_OUTPUT(Makefile lisp/Makefile lisp/dgnuspath.el texi/Makefile)