auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/preview/aclocal.m4


From: David Kastrup
Subject: [AUCTeX-diffs] Changes to auctex/preview/aclocal.m4
Date: Thu, 07 Apr 2005 17:01:38 -0400

Index: auctex/preview/aclocal.m4
diff -u auctex/preview/aclocal.m4:1.51 auctex/preview/aclocal.m4:1.52
--- auctex/preview/aclocal.m4:1.51      Sun Apr  3 03:25:24 2005
+++ auctex/preview/aclocal.m4   Thu Apr  7 21:01:31 2005
@@ -16,7 +16,7 @@
   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
   "${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
   $1="`cat ${OUTPUT}`"
-  echo "=> ${1}" >& AC_FD_CC 2>&1
+  echo "=> [$]{$1}" >& AC_FD_CC 2>&1
   rm -f ${OUTPUT}
 ])
 
@@ -122,6 +122,7 @@
                         (file-directory-p dir)
                         (not (string-match \"\\\\\`\\\\.\\\\.\"
                            (setq reldir (file-relative-name dir expanded))))
+                        (not (file-name-absolute-p reldir))
                          (let ((name name) (dir dir))
                           (while (and dir name
                                       (string= (file-name-nondirectory dir)
@@ -326,18 +327,16 @@
 
 AC_DEFUN(AC_FULL_EXPAND,
 [ __ac_tmp_oldprefix__="${prefix}"
- if test "x${prefix}" = x -o "x${prefix}" = "xNONE"
- then
-   prefix="${ac_default_prefix}"
- fi
+  __ac_tmp_oldexec_prefix__="$exec_prefix"
+ test "x${prefix}" = xNONE && prefix="${ac_default_prefix}"
+ test "x${exec_prefix}" = xNONE && exec_prefix='${prefix}'
  while :;do case "[$]$1" in *\[$]*) __ac_tmp__='s/[[\`"-"]]/\\&/g'
 eval "$1=`sed ${__ac_tmp__} <<EOF
 [$]$1
 EOF
 `";; *) break ;; esac; done
-  prefix="${__ac_tmp_oldprefix__}" ])
-
-
+  prefix="${__ac_tmp_oldprefix__}"
+  exec_prefix="${__ac_tmp_oldexec_prefix__}" ])
 
 AC_DEFUN(AC_CHECK_PROG_REQUIRED, [
 AC_CHECK_PROG($1, $2, NONE)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]