X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fupdate-elc.sh;h=b109e8d07f83ca9c77f02d090355b1cf685d39da;hb=f48413602afd38bb75959e262b231a0e0c22c358;hp=133311400cedca87c9efda2b436eff4bcbb4e42f;hpb=48711a27afda43cf3b3b1401f774cfb136a87b62;p=chise%2Fxemacs-chise.git diff --git a/lib-src/update-elc.sh b/lib-src/update-elc.sh index 1333114..b109e8d 100644 --- a/lib-src/update-elc.sh +++ b/lib-src/update-elc.sh @@ -111,7 +111,16 @@ else echo Yes fi -ignore_dirs="$ignore_dirs utf-2000" +# Only use UTF-2000 XEmacs to compile UTF-2000-specific elisp dirs +echon "Checking for UTF-2000 support..." +lisp_prog='(princ (featurep (quote utf-2000)))' +mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`" +if test "$utf_2000_p" = nil ; then + echo No + ignore_dirs="$ignore_dirs utf-2000" +else + echo Yes +fi # first recompile the byte-compiler, so that the other compiles take place # with the latest version (assuming we're compiling the lisp dir of the emacs