build: don't try to generate docs when cross-compiling

When cross-compiling don't run the generated bison to update the docs.
Reported by Aaro Koskinen.
<http://lists.gnu.org/archive/html/bison-patches/2014-03/msg00000.html>

* configure.ac (CROSS_COMPILING): New.
* doc/local.mk: Use it.
This commit is contained in:
Akim Demaille
2014-08-30 00:36:20 +03:00
parent 8386f6ef28
commit a16074bb09
3 changed files with 11 additions and 1 deletions

1
THANKS
View File

@@ -1,6 +1,7 @@
Bison was originally written by Robert Corbett. It would not be what
it is today without the invaluable help of these people:
Aaro Koskinen aaro.koskinen@iki.fi
Аскар Сафин safinaskar@mail.ru
Airy Andre Airy.Andre@edf.fr
Akim Demaille akim@lrde.epita.fr