+2000-11-09 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * configure: Regenerate.
+
+ * aclocal.m4 (AC_CHECK_W3): Substitute `W3' with empty string
+ instead of "no" if it is not acceptable.
+
+ * lisp/dgnushack.el: Load ~/.lpath.el just before `srcdir' is added
+ to `load-path'.
+
+ * lisp/lpath.el: Move out `load-path' modification for APEL, FLIM
+ and SEMI to dgnushack.el.
+ * lisp/dgnushack.el: Move here.
+
+ * lisp/lpath.el (md5): Don't bind.
+ (url-insert-file-contents): Fbind for FSF Emacsen.
+
2000-11-08 Katsumi Yamaoka <yamaoka@jpl.org>
* texi/Makefile.in (install-ja-info): Specify `EMACS' and
if test "${HAVE_w3_forms}" = "yes"; then
EMACS_cv_ACCEPTABLE_W3=yes
else
- EMACS_cv_ACCEPTABLE_W3=no
+ EMACS_cv_ACCEPTABLE_W3=
fi
-if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
+if test "x${EMACS_cv_ACCEPTABLE_W3}" = "xyes"; then
AC_EMACS_LISP(w3_dir,(file-name-directory (locate-library \"w3-forms\")),"noecho")
EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
fi
AC_ARG_WITH(w3,[ --with-w3=DIR Specify where to find the w3 package], [ EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null` ])
W3=${EMACS_cv_ACCEPTABLE_W3}
AC_SUBST(W3)
- AC_MSG_RESULT("${W3}")
+ if test "x${EMACS_cv_ACCEPTABLE_W3}" = "xyes"; then
+ AC_MSG_RESULT("${W3}")
+ else
+ AC_MSG_RESULT("not found")
+ fi
])
AC_DEFUN(AC_EXAMINE_PACKAGEDIR,
if test "${HAVE_w3_forms}" = "yes"; then
EMACS_cv_ACCEPTABLE_W3=yes
else
- EMACS_cv_ACCEPTABLE_W3=no
+ EMACS_cv_ACCEPTABLE_W3=
fi
-if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
+if test "x${EMACS_cv_ACCEPTABLE_W3}" = "xyes"; then
elisp="(file-name-directory (locate-library \"w3-forms\"))"
if test -z ""noecho""; then
W3=${EMACS_cv_ACCEPTABLE_W3}
- echo "$ac_t"""${W3}"" 1>&6
+ if test "x${EMACS_cv_ACCEPTABLE_W3}" = "xyes"; then
+ echo "$ac_t"""${W3}"" 1>&6
+ else
+ echo "$ac_t"""not found"" 1>&6
+ fi
if test ${EMACS_FLAVOR} = xemacs; then
echo $ac_n "checking where the XEmacs package is""... $ac_c" 1>&6
-echo "configure:1069: checking where the XEmacs package is" >&5
+echo "configure:1073: checking where the XEmacs package is" >&5
# Check whether --with-packagedir or --without-packagedir was given.
if test "${with_packagedir+set}" = set; then
withval="$with_packagedir"
(or package-dir \"\"))"
if test -z ""noecho""; then
echo $ac_n "checking for PACKAGEDIR""... $ac_c" 1>&6
-echo "configure:1092: checking for PACKAGEDIR" >&5
+echo "configure:1096: checking for PACKAGEDIR" >&5
fi
if eval "test \"\${EMACS_cv_SYS_PACKAGEDIR+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
(or package-dir \"\"))"
if test -z ""noecho""; then
echo $ac_n "checking for PACKAGEDIR""... $ac_c" 1>&6
-echo "configure:1131: checking for PACKAGEDIR" >&5
+echo "configure:1135: checking for PACKAGEDIR" >&5
fi
if eval "test \"\${EMACS_cv_SYS_PACKAGEDIR+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
withval="$with_addpath"
if test x$withval != xyes -a x$withval != x; then
echo $ac_n "checking where to find the additional elisp libraries""... $ac_c" 1>&6
-echo "configure:1168: checking where to find the additional elisp libraries" >&5
+echo "configure:1172: checking where to find the additional elisp libraries" >&5
ADDITIONAL_LOAD_PATH=$withval
echo "$ac_t""$ADDITIONAL_LOAD_PATH" 1>&6
fi
(load (expand-file-name "gnus-clfns.el" srcdir) nil t t)
-(condition-case err
- (load "~/.lpath.el" t nil t)
- (error (message "Error in \"~/.lpath.el\" file: %s" err)))
-
(condition-case nil
(char-after)
(wrong-number-of-arguments
'(char-before (point))
form))))
-(push srcdir load-path)
+;; Don't load path-util until `char-after' and `char-before' have been
+;; optimized because it requires `poe' and then modify the functions.
+(or (featurep 'path-util)
+ (load "apel/path-util"))
+(add-path "apel")
+(add-path "flim")
+(add-path "semi")
-;; `char-after' and `char-before' must be well-behaved before lpath.el
-;; is loaded. Because it requires `poe' via `path-util'.
+(condition-case err
+ (load "~/.lpath.el" t nil t)
+ (error (message "Error in \"~/.lpath.el\" file: %s" err)))
+
+(push srcdir load-path)
(load (expand-file-name "lpath.el" srcdir) nil t t)
(unless (fboundp 'byte-compile-file-form-custom-declare-variable)
(defvar byte-compile-default-warnings)
-(or (featurep 'path-util)
- (load "apel/path-util"))
-(add-path "apel")
-(add-path "flim")
-(add-path "semi")
-
(defun maybe-fbind (args)
(while args
(or (fboundp (car args))
window-pixel-height window-pixel-width)))
;; T-gnus.
-(maybe-fbind '(md5))
(if (featurep 'xemacs)
(progn
(maybe-fbind '(propertize))
(maybe-bind '(mh-lib-progs)))
;; FSFmacs
(maybe-fbind '(charsetp
- function-max-args propertize smiley-encode-buffer))
+ function-max-args propertize smiley-encode-buffer
+ url-insert-file-contents))
(if (boundp 'MULE)
(progn
(maybe-fbind '(coding-system-get