[PATCH macros 1/2] doc: Specify minimum asciidoc version to XORG_CHECK_ASCIIDOC

Fernando Carrijo fcarrijo at yahoo.com.br
Thu Mar 4 12:10:12 PST 2010

Dan Nicholson <dbn.lists at gmail.com> wrote:
> We need to change libXi to demand 8.4.5. I think the big reason for
> needing this change is the Ubuntu has 8.4.4 and it doesn't work. So,
> change libXi to:
> You should have the doc build skipped in that case. But for the error
> you're hitting,

I forgot to mention that in another trial I added a line exactly like
this one you suggested above to lib/libXi/configure.ac, then removing
the one which imediatelly preceded it, after presuming that both were
mutually exclusive. This rendered the following diff:

  @@ -12,7 +12,7 @@ m4_ifndef([XORG_MACROS_VERSION],
   # Check for progs

and resulted in this (abridged) output:

  checking for xmlto... /usr/bin/xmlto
  ./configure: line 4889: syntax error near unexpected token `8.4.5'
  ./configure: line 4889: `XORG_CHECK_ASCIIDOC(8.4.5)'

That reminded me that in this same thread Gaetan suggested the use of
XORG_WITH_ASCIIDOC([8.4.5]) instead. And after another round of 'make
distclean' and 'build.sh' I got back to the situation I faced yesterday:

  Making all in man
  make[1]: Entering directory `/home/fcarrijo/softwares/repositorio/xorg/lib/libXi/man'
  /bin/sed -e 's/__xorgversion__/"libXi 1.3" "X Version 11"/' -e 's/__xservername__/Xorg/g' -e 's/__xconfigfile__/xorg.conf/g' -e 's/__appmansuffix__/1/g' -e 's/libmansuffix/3/g' -e 's/__filemansuffix__/5/g' < XAllowDeviceEvents.man > XAllowDeviceEvents.3
  make[1]: *** No rule to make target `XChangeDeviceDontPropagateList.3', needed by `all-am'.  Stop.
  make[1]: Leaving directory `/home/fcarrijo/softwares/repositorio/xorg/lib/libXi/man'
  make: *** [all-recursive] Error 1

Something tells me that the one-liner comment which follows the
implementation of the macro XORG_WITH_ASCIIDOC, in xorg-macros.m4 is, in
the absence of a better word, misleading. But with the knowledge I have
now about the inner workings of the autotools I dare not to infer much

> make[1]: *** No rule to make target
> `XChangeDeviceDontPropagateList.3', needed by `all-am'.  Stop.
> I think it's something we fixed in the libXi automake rules a while
> back. Is this libXi git?

Yes. HEAD revision of master branch, as of today.

> --
> Dan

Dan, if you are in lack of time to tackle this, I will have no problem
to update to a more recent version of asciidoc, or better, go read the
sources and the manual of autoconf. On the other hand, if time is not
against you, I'll be open to suggestions.

More information about the xorg-devel mailing list