e811fd05ff
LINUXDOC macro. Bump revision.
24 lines
825 B
Text
24 lines
825 B
Text
$NetBSD: patch-aa,v 1.1 2007/08/06 15:27:07 joerg Exp $
|
|
|
|
--- xorg-macros.m4.in.orig 2006-11-08 15:23:10.000000000 +0100
|
|
+++ xorg-macros.m4.in
|
|
@@ -194,7 +194,8 @@ AC_DEFUN([XORG_CHECK_LINUXDOC],[
|
|
XORG_SGML_PATH=$prefix/share/sgml
|
|
HAVE_DEFS_ENT=
|
|
|
|
-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
|
|
+AS_IF([test "$cross_compiling" = no],
|
|
+ AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]))
|
|
|
|
AC_PATH_PROG(LINUXDOC, linuxdoc)
|
|
AC_PATH_PROG(PS2PDF, ps2pdf)
|
|
@@ -250,7 +251,8 @@ BUILDPDFDOC=no
|
|
BUILDPSDOC=no
|
|
BUILDHTMLDOC=no
|
|
|
|
-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
|
|
+AS_IF([test "$cross_compiling" = no],
|
|
+ AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]))
|
|
|
|
AC_PATH_PROG(DOCBOOKPS, docbook2ps)
|
|
AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)
|