aboutsummaryrefslogtreecommitdiffstats
path: root/package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch
blob: 26c83aac0f582c7508895d64ede948425c4c8480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- util-macros-1.1.6/xorg-macros.m4.in.orig	2007-06-08 22:23:00.000000000 +0200
+++ util-macros-1.1.6/xorg-macros.m4.in	2007-06-08 22:26:41.000000000 +0200
@@ -194,7 +194,11 @@
 XORG_SGML_PATH=$prefix/share/sgml
 HAVE_DEFS_ENT=
 
-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+if test "$cross_compiling" = no; then
+   AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+else
+   HAVE_DEFS_ENT=no
+fi
 
 AC_PATH_PROG(LINUXDOC, linuxdoc)
 AC_PATH_PROG(PS2PDF, ps2pdf)