comparison lib-src/update-elc.sh @ 72:b9518feda344 r20-0b31

Import from CVS: tag r20-0b31
author cvs
date Mon, 13 Aug 2007 09:03:46 +0200
parents 131b0175ea99
children 54cc21c15cbb
comparison
equal deleted inserted replaced
71:bae944334fa4 72:b9518feda344
19 for dir in . .. ../.. editor ../editor ; do 19 for dir in . .. ../.. editor ../editor ; do
20 if test -d $dir ; then cd $dir ; break ; fi 20 if test -d $dir ; then cd $dir ; break ; fi
21 done 21 done
22 22
23 if test ! -d lisp/. ; then 23 if test ! -d lisp/. ; then
24 echo "$0: Can't find the `lisp' directory." 24 echo "$0: Can't find the \`lisp' directory."
25 exit 1 25 exit 1
26 fi 26 fi
27 27
28 28
29 EMACS=${XEMACS:-./src/xemacs}; export EMACS 29 EMACS=${XEMACS:-./src/xemacs}; export EMACS
50 # Compute patterns to ignore when searching for files 50 # Compute patterns to ignore when searching for files
51 ignore_dirs="egg its quail" # ### Not ported yet... 51 ignore_dirs="egg its quail" # ### Not ported yet...
52 52
53 # Only use Mule XEmacs to compile Mule-specific elisp dirs 53 # Only use Mule XEmacs to compile Mule-specific elisp dirs
54 echo "Checking for Mule support..." 54 echo "Checking for Mule support..."
55 # You cannot just use 'test -n' here because it will fail on a null 55 lisp_prog='(when (featurep (quote mule)) (message "yes"))'
56 # return value (null != null string) 56 if test -z `$REAL -batch -no-site-file -eval "$lisp_prog" 2>&1` ; then
57 mule_check=`$REAL -batch -no-site-file \
58 -eval "(when (featurep 'mule) (message \"yes\"))" 2>&1`
59 if [ -z "$mule_check" ]; then
60 ignore_dirs="$ignore_dirs mule" 57 ignore_dirs="$ignore_dirs mule"
61 fi 58 fi
62 59
63 # first recompile the byte-compiler, so that the other compiles take place 60 # first recompile the byte-compiler, so that the other compiles take place
64 # with the latest version (assuming we're compiling the lisp dir of the emacs 61 # with the latest version (assuming we're compiling the lisp dir of the emacs