summaryrefslogtreecommitdiff
path: root/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga-1.2.0-cross-compile.patch
blob: fac8018aa65b702e72faad51f7c85bc925c42dac (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
--- a/configure	2006-04-07 17:40:13.000000000 -0400
+++ b/configure	2008-06-23 11:54:36.000000000 -0400
@@ -20326,27 +20326,8 @@ echo "$as_me: Building with package name
 as_ac_File=`echo "ac_cv_file_$prefix/share/X11/sgml/defs.ent" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $prefix/share/X11/sgml/defs.ent" >&5
 echo $ECHO_N "checking for $prefix/share/X11/sgml/defs.ent... $ECHO_C" >&6
-if eval "test \"\${$as_ac_File+set}\" = set"; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  test "$cross_compiling" = yes &&
-  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
-   { (exit 1); exit 1; }; }
-if test -r "$prefix/share/X11/sgml/defs.ent"; then
-  eval "$as_ac_File=yes"
-else
-  eval "$as_ac_File=no"
-fi
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
-if test `eval echo '${'$as_ac_File'}'` = yes; then
-  DEFS_ENT_PATH=$prefix/share/X11/sgml
-else
   DEFS_ENT_PATH=
 
-fi
 
 
 # Extract the first word of "linuxdoc", so it can be a program name with args.