summaryrefslogtreecommitdiff
path: root/packages/tetex/files/configure.patch
blob: 7a955917dfeb2f11f63247068b443a544b1c3f1c (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- tetex-src-3.0/configure~configure.patch
+++ tetex-src-3.0/configure
@@ -3903,10 +3903,6 @@
   if test "$with_system_t1lib" = yes; then
       echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6
 echo "configure:3906: checking whether installed T1 lib is >= v 5.0.0 " >&5
-      if test "$cross_compiling" = yes; then
-  ac_compile_t1lib=1
-	]
-else
   cat > conftest.$ac_ext <<EOF
 #line 3912 "configure"
 #include "confdefs.h"
@@ -3939,15 +3935,7 @@
 }
 	
 EOF
-if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
   ac_compile_t1lib=0
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_compile_t1lib=1
-fi
 rm -fr conftest*
 fi
 
@@ -3975,7 +3963,6 @@
     LIBT1DEP=
     using_system_t1lib=yes
   fi
-fi
 
 
 
--- tetex-src-3.0/libs/configure~configure.patch
+++ tetex-src-3.0/libs/configure
@@ -1711,10 +1711,6 @@
   if test "$with_system_t1lib" = yes; then
       echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6
 echo "configure:1714: checking whether installed T1 lib is >= v 5.0.0 " >&5
-      if test "$cross_compiling" = yes; then
-  ac_compile_t1lib=1
-	]
-else
   cat > conftest.$ac_ext <<EOF
 #line 1720 "configure"
 #include "confdefs.h"
@@ -1747,15 +1743,7 @@
 }
 	
 EOF
-if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-  ac_compile_t1lib=0
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_compile_t1lib=1
-fi
+ac_compile_t1lib=0
 rm -fr conftest*
 fi
 
@@ -1783,7 +1771,6 @@
     LIBT1DEP=
     using_system_t1lib=yes
   fi
-fi
 
 
 
--- tetex-src-3.0/utils/texinfo/configure~configure.patch
+++ tetex-src-3.0/utils/texinfo/configure
@@ -689,7 +689,7 @@
 # FIXME: To remove some day.
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
-    cross_compiling=maybe
+    cross_compiling=no
     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     If a cross compiler is detected then cross compile mode will be used." >&2
   elif test "x$build_alias" != "x$host_alias"; then
--- tetex-src-3.0/texk/dvipng/configure~configure.patch
+++ tetex-src-3.0/texk/dvipng/configure
@@ -2642,10 +2642,7 @@
   if test "$with_system_t1lib" = yes; then
       echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6
 echo "configure:2645: checking whether installed T1 lib is >= v 5.0.0 " >&5
-      if test "$cross_compiling" = yes; then
-  ac_compile_t1lib=1
-	]
-else
+ac_compile_t1lib=0
   cat > conftest.$ac_ext <<EOF
 #line 2651 "configure"
 #include "confdefs.h"
@@ -2678,14 +2675,7 @@
 }
 	
 EOF
-if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-  ac_compile_t1lib=0
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_compile_t1lib=1
+ac_compile_t1lib=0
 fi
 rm -fr conftest*
 fi
@@ -2696,7 +2686,6 @@
           echo "$ac_t""no, will compile my own version" 1>&6
 	  with_system_t1lib=no
       fi
-  fi
 
   LDFLAGS=$OLD_LDFLAGS
   CPP=$OLD_CPP
@@ -2714,7 +2703,6 @@
     LIBT1DEP=
     using_system_t1lib=yes
   fi
-fi