]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Enveigle configure to look for a2x.py as well as a2x.
authordana koch <dsk@google.com>
Sat, 15 Feb 2014 10:46:55 +0000 (21:46 +1100)
committerNick Mathewson <nickm@torproject.org>
Mon, 17 Feb 2014 23:05:15 +0000 (23:05 +0000)
It's not guaranteed that every package symlinks a2x to a2x.py; OpenBSD
does not do this, so let's just look for a2x.py as well.

configure.ac

index 6f40ac4ad2e03b1c3881fe0f0ec299f37545c81c..211d34c099298108fae0fe8ca5c3cfe054efbd81 100644 (file)
@@ -167,7 +167,7 @@ AC_CHECK_PROG([SED],[sed],[sed],[/bin/false])
 
 dnl check for asciidoc and a2x
 AC_PATH_PROG([ASCIIDOC], [asciidoc], none)
-AC_PATH_PROG([A2X], [a2x], none)
+AC_PATH_PROGS([A2X], [a2x, a2x.py], none)
 
 AM_CONDITIONAL(USE_ASCIIDOC, test x$asciidoc = xtrue)