kumquat-buildroot/package/x11r7/xutil_util-macros/xutil_util-macros-1.1.5-linuxdoc.patch
Eric Andersen a7e49eb2af Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn't
quite work yet for me, but this clearly is a huge project and not having it
quite work on the first pass is hardly unexpected.  We definately want this
stuff in buildroot.
2007-08-10 19:07:51 +00:00

16 lines
506 B
Diff

--- util-macros-1.1.5/xorg-macros.m4.in.orig 2007-06-08 22:23:00.000000000 +0200
+++ util-macros-1.1.5/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)