Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/lib-src/update-elc.sh Mon Aug 13 09:07:39 2007 +0200 +++ b/lib-src/update-elc.sh Mon Aug 13 09:08:29 2007 +0200 @@ -54,9 +54,16 @@ # Only use Mule XEmacs to compile Mule-specific elisp dirs echo "Checking for Mule support..." -lisp_prog='(when (featurep (quote mule)) (message "yes"))' -if test -z `$REAL -batch -no-site-file -eval "$lisp_prog" 2>&1` ; then +lisp_prog='(princ (featurep (quote mule)))' +mule_p="`$REAL -batch -no-site-file -eval \"$lisp_prog\"`" +if test "$mule_p" = nil ; then + echo No ignore_dirs="$ignore_dirs mule" +elif test "$mule_p" = t; then + echo Yes +else + echo "Error determining presence of mule support" + exit 1; fi # first recompile the byte-compiler, so that the other compiles take place