X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fupdate-elc.sh;h=fdc5edc2cef8d410cafa42401fff84a141630de1;hb=12d15df6028e65adcc90f8e9edc947ee3286b733;hp=5d3f4618b03eb5d77912d2c31785ea716c699941;hpb=be1aa469293700c1a79701e20df4831b458e678f;p=chise%2Fxemacs-chise.git diff --git a/lib-src/update-elc.sh b/lib-src/update-elc.sh index 5d3f461..fdc5edc 100644 --- a/lib-src/update-elc.sh +++ b/lib-src/update-elc.sh @@ -48,6 +48,7 @@ export EMACS echo " (using $EMACS)" # fuckin' sysv, man... +# Nuke this function... if [ "`uname -r | sed 's/[^0-9]*\([0-9]*\).*/\1/'`" -gt 4 ]; then echon() { @@ -111,6 +112,17 @@ else echo Yes fi +# 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 # we're running, which might not be the case, but often is.)