+2002-09-09 NIIBE Yutaka <gniibe@m17n.org>
+
+ Check JIS x0213 support at compile time.
+ * check-jisx0213.el: New file.
+ * configure.in: Check if JIS X0213 is supported or not.
+ * Makefile.in (TOPSRCS): Remove egg-x0213.el.
+ (DEPS): Don't load jisx0213.el.
+ (ITSSRCS): Removed its/aynu.el.
+ (AYNU): New variable.
+
+ Bug fix.
+ * its/thai.el (its-thai-add-vowel, its-thai-add-tone): Bug fixes.
+ Just call compose-string.
+
2002-08-26 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>,
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>,
Katsumi Yamaoka <yamaoka@jpl.org>
# ;; install files into the emacs site-lisp directory
# ;; ex. /usr/local/share/emacs/site-lisp/egg
-DEPS = -l $(top_srcdir)/docomp.el -l $(top_srcdir)/jisx0213.el
+DEPS = -l $(top_srcdir)/docomp.el
BATCHFLAGS = -batch -q -no-site-file -no-init-file
ETCS = Makefile docomp.el \
egg-cnv.el \
egg-mlh.el \
egg-sim.el \
- egg-x0213.el \
menudiag.el \
its.el \
its-keydef.el \
egg/anthyipc.el egg/anthy.el
#
+AYNU = @HAVE_JISX0213@ its/aynu.el
+
ITSSRCS = \
its/ascii.el \
- its/aynu.el \
its/bixing.el \
its/erpin.el \
its/greek.el \
its/quanjiao.el \
its/zenkaku.el \
its/zhuyin.el \
+ ${AYNU}
#
ELCS = ${SRCS:.el=.elc}
DIST = ${ETCS} ${SRCS} ${INITELS}
+
all: ${ELCS}
.SUFFIXES: .el .elc
--- /dev/null
+(if (charsetp 'japanese-jisx0213-1)
+ (kill-emacs 0)
+ (kill-emacs 1))
+echo $ac_n "checking jisx0213""... $ac_c" 1>&6
+echo "configure:642: checking jisx0213" >&5
+if emacs -batch -q -no-site-file -no-init-file -l ${srcdir}/check-jisx0213.el; then
+ echo "yes"; HAVE_JISX0213=""
+else
+ echo "no"; HAVE_JISX0213="# "
+fi
+
+
lispdir=${datadir}/emacs/site-lisp
trap '' 1 2 15
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@SET_MAKE@%$SET_MAKE%g
+s%@HAVE_JISX0213@%$HAVE_JISX0213%g
s%@lispdir@%$lispdir%g
CEOF
dnl Checks for library functions.
+dnl check if jisx0213 is supported or not
+AC_MSG_CHECKING(jisx0213)
+if emacs -batch -q -no-site-file -no-init-file -l ${srcdir}/check-jisx0213.el; then
+ echo "yes"; HAVE_JISX0213=""
+else
+ echo "no"; HAVE_JISX0213="# "
+fi
+AC_SUBST(HAVE_JISX0213)
+
lispdir=${datadir}/emacs/site-lisp
AC_SUBST(lispdir)
AC_OUTPUT(Makefile)
(setq next-keyseq (concat keyseq (car (car vowel)))
next-output (concat output (cdr (car vowel)))
vowel (cdr vowel))
- (its-defrule next-keyseq `(eval compose-string ,next-output))
+ (its-defrule next-keyseq (compose-string next-output))
(its-thai-add-tone next-keyseq next-output tone))))
(defun its-thai-add-tone (keyseq output tone)
(setq next-keyseq (concat keyseq (car (car tone)))
next-output (concat output (cdr (car tone)))
tone (cdr tone))
- (its-defrule next-keyseq `(eval compose-string ,next-output))))))
+ (its-defrule next-keyseq (compose-string next-output))))))
;; Thai Kesmanee keyboard support.
("4" "\e,T@\e(B" consonant) ("$" "\e,Ts\e(B")
("5" "\e,T6\e(B" consonant) ("%" "\e,Tt\e(B")
("6" "\e,TX\e(B" vowel) ("^" "\e,TY\e(B" vowel)
- ("7" "\e,TV\e(B" vowel) ("&" "\e0\e,TQi\e1\e(B" vowel)
+ ("7" "\e,TV\e(B" vowel) ("&" "\e0\e,TQi\e(B\e1" vowel)
("8" "\e,T$\e(B" consonant) ("*" "\e,Tu\e(B")
("9" "\e,T5\e(B" consonant) ("(" "\e,Tv\e(B")
("0" "\e,T(\e(B" consonant) (")" "\e,Tw\e(B")