/[auctex]/auctex/preview/aclocal.m4
ViewVC logotype

Diff of /auctex/preview/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.51 by dak, Sun Apr 3 03:25:24 2005 UTC revision 1.52 by dak, Thu Apr 7 21:01:31 2005 UTC
# Line 16  AC_DEFUN(EMACS_LISP, [ Line 16  AC_DEFUN(EMACS_LISP, [
16    echo "${EMACS}" -batch $3 -eval "(let* (patsubst([$4], [\w+], [(\&(pop command-line-args-left))])(x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" $5 >& AC_FD_CC 2>&1    echo "${EMACS}" -batch $3 -eval "(let* (patsubst([$4], [\w+], [(\&(pop command-line-args-left))])(x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" $5 >& AC_FD_CC 2>&1
17    "${EMACS}" -batch $3 -eval "(let* (patsubst([$4], [\w+], [(\&(pop command-line-args-left))])(x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" $5 >& AC_FD_CC 2>&1    "${EMACS}" -batch $3 -eval "(let* (patsubst([$4], [\w+], [(\&(pop command-line-args-left))])(x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" $5 >& AC_FD_CC 2>&1
18    $1="`cat ${OUTPUT}`"    $1="`cat ${OUTPUT}`"
19    echo "=> ${1}" >& AC_FD_CC 2>&1    echo "=> [$]{$1}" >& AC_FD_CC 2>&1
20    rm -f ${OUTPUT}    rm -f ${OUTPUT}
21  ])  ])
22    
# Line 122  AC_DEFUN(EMACS_EXAMINE_INSTALLATION_DIR, Line 122  AC_DEFUN(EMACS_EXAMINE_INSTALLATION_DIR,
122                           (file-directory-p dir)                           (file-directory-p dir)
123                           (not (string-match \"\\\\\`\\\\.\\\\.\"                           (not (string-match \"\\\\\`\\\\.\\\\.\"
124                             (setq reldir (file-relative-name dir expanded))))                             (setq reldir (file-relative-name dir expanded))))
125                             (not (file-name-absolute-p reldir))
126                           (let ((name name) (dir dir))                           (let ((name name) (dir dir))
127                             (while (and dir name                             (while (and dir name
128                                         (string= (file-name-nondirectory dir)                                         (string= (file-name-nondirectory dir)
# Line 326  AC_SUBST(previewdocdir)]) Line 327  AC_SUBST(previewdocdir)])
327    
328  AC_DEFUN(AC_FULL_EXPAND,  AC_DEFUN(AC_FULL_EXPAND,
329  [ __ac_tmp_oldprefix__="${prefix}"  [ __ac_tmp_oldprefix__="${prefix}"
330   if test "x${prefix}" = x -o "x${prefix}" = "xNONE"    __ac_tmp_oldexec_prefix__="$exec_prefix"
331   then   test "x${prefix}" = xNONE && prefix="${ac_default_prefix}"
332     prefix="${ac_default_prefix}"   test "x${exec_prefix}" = xNONE && exec_prefix='${prefix}'
  fi  
333   while :;do case "[$]$1" in *\[$]*) __ac_tmp__='s/[[\`"-"]]/\\&/g'   while :;do case "[$]$1" in *\[$]*) __ac_tmp__='s/[[\`"-"]]/\\&/g'
334  eval "$1=`sed ${__ac_tmp__} <<EOF  eval "$1=`sed ${__ac_tmp__} <<EOF
335  [$]$1  [$]$1
336  EOF  EOF
337  `";; *) break ;; esac; done  `";; *) break ;; esac; done
338    prefix="${__ac_tmp_oldprefix__}" ])    prefix="${__ac_tmp_oldprefix__}"
339      exec_prefix="${__ac_tmp_oldexec_prefix__}" ])
   
340    
341  AC_DEFUN(AC_CHECK_PROG_REQUIRED, [  AC_DEFUN(AC_CHECK_PROG_REQUIRED, [
342  AC_CHECK_PROG($1, $2, NONE)  AC_CHECK_PROG($1, $2, NONE)

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26