diff options
author | Keith Packard <keithp@koto.keithp.com> | 2007-08-13 19:21:58 -0700 |
---|---|---|
committer | Keith Packard <keithp@koto.keithp.com> | 2007-08-13 19:21:58 -0700 |
commit | e20c503d24e5ccf03035aa0f6d833d235d2179df (patch) | |
tree | cf81b9fa0bd1856893d2a8e6fc80a649b40f9f96 /xorg-macros.m4.in | |
parent | f2ddb356d86225a8ff6d1d1397fb2156cebd360f (diff) |
Cannot use AC_CHECK_FILE when cross compiling; assume no LINUXDOC.
As AC_CHECK_FILE cannot be used when cross compiling, just assume linuxdoc
is not present.
Diffstat (limited to 'xorg-macros.m4.in')
-rw-r--r-- | xorg-macros.m4.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 11b1419..0eda9a8 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -194,7 +194,11 @@ 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]) +if test x"$cross_compiling" = x"yes" ; then + HAVE_DEFS_ENT=no +else + AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]) +fi AC_PATH_PROG(LINUXDOC, linuxdoc) AC_PATH_PROG(PS2PDF, ps2pdf) |