[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/preview/configure.ac,v
From: |
David Kastrup |
Subject: |
[AUCTeX-diffs] Changes to auctex/preview/configure.ac,v |
Date: |
Fri, 29 Sep 2006 00:16:30 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: David Kastrup <dak> 06/09/29 00:16:29
Index: configure.ac
===================================================================
RCS file: /sources/auctex/auctex/preview/configure.ac,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -b -r1.105 -r1.106
--- configure.ac 21 Sep 2006 10:02:58 -0000 1.105
+++ configure.ac 29 Sep 2006 00:16:29 -0000 1.106
@@ -87,11 +87,9 @@
AC_SUBST(auctexdir)
AC_ARG_VAR(GS,[Ghostscript executable for batch operation])
-AC_CHECK_PROGS_REQUIRED(GS, gs GSWIN32C.EXE,
-[Ghostscript not found! Aborting!
-You need Ghostscript in your PATH for preview to work.])
+AC_CHECK_PROGS(GS, gs GSWIN32C.EXE, NONE)
-EMACS_LISP([[lispGS]],[[(if (string= dir \"gs\") \"\" \`(defvar
preview-gs-command ,dir))]],-no-site-file,[[dir]],[["${GS}"]])
+EMACS_LISP([[lispGS]],[[(if (member dir (list \"NONE\" (if (eq system-type
'windows-nt) \"GSWIN32C.EXE\" \"gs\"))) \"\" \`(defvar preview-gs-command
,dir))]],-no-site-file,[[dir]],[["${GS}"]])
AC_SUBST(lispGS)
dnl check to see if GS supports -dTextAlphaBits and -dGraphicsAlphaBits