(M17260): Separate U+6CBF, J90-3168 and C1-4E58.
[chise/xemacs-chise.git] / lib-src / update-elc.sh
index ce9e11c..fdc5edc 100644 (file)
@@ -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()
   {    
@@ -106,7 +107,18 @@ lisp_prog='(princ (featurep (quote mule)))'
 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`"
 if test "$mule_p" = nil ; then
        echo No
-       ignore_dirs="$ignore=dirs mule"
+       ignore_dirs="$ignore_dirs mule"
+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
@@ -176,7 +188,6 @@ ignore_pattern="$ignore_pattern"'
 \!/site-init.el$!d
 \!/version.el$!d
 \!/very-early-lisp.el$!d
-\!/Installation.el$!d
 '
 
 echo "Compiling files without .elc..."