summaryrefslogtreecommitdiff
blob: 7d35ad2cf3b9455bfb0bc0bab9f773e62e19c253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -urN lyx-1.4.1.orig/lib/configure lyx-1.4.1/lib/configure
--- lyx-1.4.1.orig/lib/configure	2006-04-11 11:18:17.000000000 +0200
+++ lyx-1.4.1/lib/configure	2006-05-21 13:05:30.000000000 +0200
@@ -95,7 +95,7 @@
      echo "\\begin{document}\\end{document}" >> $tmpfname
      inpname=`cygpath -w $tmpfname | tr '\\\\' /`
      echo "\\input{$inpname}" > wrap_temp$$.ltx
-     check_err=`latex wrap_temp$$.ltx 2>&1 < /dev/null | grep Error`
+     check_err=`latex --no-mktex=tfm wrap_temp$$.ltx 2>&1 < /dev/null | grep Error`
      rm -f wrap_temp$$.* /tmp/x$$.*
      if [ x"$check_err" = "x" ]
      then
@@ -151,7 +151,7 @@
 \\fi
 \\@@end
 EOF
-if eval ${LATEX} chklatex.ltx </dev/null 2>/dev/null \
+if eval ${LATEX} --no-mktex=tfm chklatex.ltx </dev/null 2>/dev/null \
 		       | grep 'ThisIsLaTeX2e' >/dev/null; then
   :
 else
@@ -1193,7 +1193,7 @@
 echo $ac_n "checking for a spellchecker""... $ac_c"
 echo "$ac_t"""
 prog=
-for ac_prog in ispell
+for ac_prog in aspell
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog ; ac_word=$2
@@ -1634,7 +1634,7 @@
 	 fi ;;
     esac
   done > chklayouts.tex
-  ${LATEX} wrap_chkconfig.ltx 2>/dev/null | grep '^\+'
+  ${LATEX} --no-mktex=tfm wrap_chkconfig.ltx 2>/dev/null | grep '^\+'
   eval `cat chkconfig.vars | sed 's/-/_/g'`
   test -n "${rmcopy}" && rm -f chkconfig.ltx
 fi
@@ -1683,7 +1683,7 @@
   fname="a b"
   rm -f "$fname".tex
   echo "\\message{working^^J}" >"$fname".tex
-  if ${LATEX} "$fname" </dev/null | grep 'working' >/dev/null ; then
+  if ${LATEX} --no-mktex=tfm "$fname" </dev/null | grep 'working' >/dev/null ; then
     echo "$ac_t""yes"
     tex_allows_spaces=true
   else
@@ -1999,6 +1999,11 @@
 
 $rc_entries
 \\font_encoding "$chk_fontenc"
+
+# Gentoo systems have TrueType fonts available, use them by default
+\\screen_font_roman "Times New Roman"
+\\screen_font_sans "Verdana"
+\\screen_font_typewriter "Courier New"
 \\tex_allows_spaces $tex_allows_spaces
 EOF