]> git.ipfire.org Git - thirdparty/autoconf.git/commit
autoreconf: don’t fail if gtkdocize is unavailable (#110503)
authorZack Weinberg <zack@owlfolio.org>
Tue, 27 Jan 2026 21:17:43 +0000 (16:17 -0500)
committerZack Weinberg <zack@owlfolio.org>
Tue, 27 Jan 2026 21:25:54 +0000 (16:25 -0500)
commit2b56e8c22096bef39779b92f5cd76f6fd574bb1f
tree2c9a93c304f45579ef6812da62fc1c586c27a04b
parent912567e9675e935d6368f5d527da397839253f55
autoreconf: don’t fail if gtkdocize is unavailable (#110503)

Since 2.70, autoreconf has run gtkdocize when it detects a use of the
macro GTK_DOC_CHECK in the configure.ac.  Some projects (e.g. per the
bug report, gnutls and harfbuzz) were using a clever hack with
m4_ifdef to allow people to build the project without having gtkdocize
installed, if they didn’t care about building the documentation; the
change to autoreconf broke this hack.

Attempt to make the hack work again, by only running gtkdocize if that
command is actually installed; autoreconf will not error out if the
macro is detected but the command is unavailable, similar to the
existing treatment of autopoint.

Problem reported by Marvin Scholz.

* bin/autoreconf.in (autoreconf_current_directory): Do not error out
  if gtkdocize is wanted but unavailable.
bin/autoreconf.in