auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/preview/configure.ac


From: David Kastrup
Subject: [AUCTeX-diffs] Changes to auctex/preview/configure.ac
Date: Sat, 30 Apr 2005 16:45:05 -0400

Index: auctex/preview/configure.ac
diff -u auctex/preview/configure.ac:1.85 auctex/preview/configure.ac:1.86
--- auctex/preview/configure.ac:1.85    Sat Apr 30 15:28:06 2005
+++ auctex/preview/configure.ac Sat Apr 30 20:45:03 2005
@@ -55,6 +55,7 @@
    previewstartfile="${packagelispdir}"/auto-autoloads.el
    test "X$packagedatadir" = X && packagedatadir="${packagedir}/etc/preview"
    infodir="${packagedir}/info"
+   INSTALL_INFO=:
 fi
 
 AC_SUBST(previewstartfile)
@@ -109,19 +110,6 @@
 
 AC_PATH_PROG_REQUIRED(TEX, tex, NONE)
 
-# Be very careful about assuming things about the available hash programs
-# MikTeX comes with a braindead link to mktexlsr, apparently, so first
-# try the regular utility from them.
-AC_ARG_VAR(TEXHASH,[command to update the TeX filename database.
-Set to : to skip updating the database on installation.])
-AC_PATH_PROG(TEXHASH, texhash)
-if test -z "${TEXHASH}"; then
-  AC_CHECK_PROG(TEXHASH, initexmf, initexmf -u)
-  if test -z "${TEXHASH}"; then
-    AC_PATH_PROGS(TEXHASH, mktexlsr MakeTeXls-R, :)
-  fi
-fi
-
 TEX_PATH_TEXMFDIR
 
 if test "x${texmfdir}" = "xno"
@@ -141,11 +129,26 @@
   packagetexstyles="${packagedatadir}/latex"
   AC_LISPIFY_DIR(packagetexstyles,"${previewstartfile}")
   lisppackagetexstyles="(defvar preview-TeX-style-dir (concat 
${lisppackagetexstyles} \"${kpathseaseparator}\"))"
+  test "X${TEXHASH}" = X && TEXHASH=:
 else
   lisppackagetexstyles=
 fi
 AC_SUBST(lisppackagetexstyles)
 
+# Be very careful about assuming things about the available hash programs
+# MikTeX comes with a braindead link to mktexlsr, apparently, so first
+# try the regular utility from them.
+AC_ARG_VAR(TEXHASH,[command to update the TeX filename database.
+Set to : to skip updating the database on installation.
+This is the default for --without-texmf-dir])
+
+AC_PATH_PROG(TEXHASH, texhash)
+AC_CHECK_PROG(TEXHASH, initexmf, initexmf -u)
+if test "X${TEXHASH}" = X
+then
+   AC_PATH_PROGS(TEXHASH, mktexlsr MakeTeXls-R, :)
+fi
+
 AC_ARG_VAR(PERL,[Perl executable.  If set to :, some documentation
 cannot be regenerated, but installation of an unmodified tarball will
 succeed.])




reply via email to

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