comparison lib-src/update-elc.sh @ 84:ac0620f6398e r20-0b92

Import from CVS: tag r20-0b92
author cvs
date Mon, 13 Aug 2007 09:08:29 +0200
parents 1ce6082ce73f
children 0d2f883870bc
comparison
equal deleted inserted replaced
83:ba3ba6e17456 84:ac0620f6398e
52 # Compute patterns to ignore when searching for files 52 # Compute patterns to ignore when searching for files
53 ignore_dirs="egg its quail" # ### Not ported yet... 53 ignore_dirs="egg its quail" # ### Not ported yet...
54 54
55 # Only use Mule XEmacs to compile Mule-specific elisp dirs 55 # Only use Mule XEmacs to compile Mule-specific elisp dirs
56 echo "Checking for Mule support..." 56 echo "Checking for Mule support..."
57 lisp_prog='(when (featurep (quote mule)) (message "yes"))' 57 lisp_prog='(princ (featurep (quote mule)))'
58 if test -z `$REAL -batch -no-site-file -eval "$lisp_prog" 2>&1` ; then 58 mule_p="`$REAL -batch -no-site-file -eval \"$lisp_prog\"`"
59 if test "$mule_p" = nil ; then
60 echo No
59 ignore_dirs="$ignore_dirs mule" 61 ignore_dirs="$ignore_dirs mule"
62 elif test "$mule_p" = t; then
63 echo Yes
64 else
65 echo "Error determining presence of mule support"
66 exit 1;
60 fi 67 fi
61 68
62 # first recompile the byte-compiler, so that the other compiles take place 69 # first recompile the byte-compiler, so that the other compiles take place
63 # with the latest version (assuming we're compiling the lisp dir of the emacs 70 # with the latest version (assuming we're compiling the lisp dir of the emacs
64 # we're running, which might not be the case, but often is.) 71 # we're running, which might not be the case, but often is.)