]> git.ipfire.org Git - thirdparty/nftables.git/commit
configure.ac: Fix a2x check
authorLuis Ressel <aranea@aixah.de>
Sun, 17 Mar 2019 17:19:11 +0000 (18:19 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Mar 2019 14:43:46 +0000 (15:43 +0100)
commit029a0b11da17766248801d353d1b1863ac4be555
treee2bf4c7bbdf2c52bdfdba015b1c009401cf5a4a1
parent10e19428a5ef9568d9d1ba88f9158eaa0a161cb3
configure.ac: Fix a2x check

* If enable_man_doc is set, but a2x can't be found, configure should
  fail instead of silently disabling man page creation.

* The AS_IF block checking $need_a2x is never active (need_a2x has been
  removed from configure.ac in 13e44a608 and a277479dc).

* AC_CHECK_PROG(VAR, ...) is a noop if VAR is already set, allowing the
  user to explicitly specify the (path to the) binary in VAR. Adjust the
  AS_IF check to account for this.

Signed-off-by: Luis Ressel <aranea@aixah.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac