summaryrefslogtreecommitdiff
path: root/tools/m4/ax_check_a2x.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tools/m4/ax_check_a2x.m4')
-rw-r--r--tools/m4/ax_check_a2x.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/m4/ax_check_a2x.m4 b/tools/m4/ax_check_a2x.m4
new file mode 100644
index 00000000..438e2478
--- /dev/null
+++ b/tools/m4/ax_check_a2x.m4
@@ -0,0 +1,5 @@
+AC_DEFUN([AX_CHECK_A2X],
+ [AC_ARG_VAR([A2X], [path to a2x command])
+ AC_CHECK_PROG([A2X], [a2x], [a2x])
+ AS_IF([test x"$A2X" = x], [$1])
+ AM_CONDITIONAL([HAVE_A2X], [test x"$A2X" != x])])