diff options
author | Richard Braun <rbraun@sceen.net> | 2017-03-26 22:01:17 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-03-26 22:01:56 +0200 |
commit | 9548c77c0f3b5455cd78eabfe329d312d52922a6 (patch) | |
tree | a33fb7f21c079be82efc3fdb0cbb4fe1506ca728 /tools | |
parent | c776716dafd6f988f10dc4614feef1a53da57e4b (diff) |
doc: use highlight for source code highlighting
Diffstat (limited to 'tools')
-rw-r--r-- | tools/m4/ax_check_highlight.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/m4/ax_check_highlight.m4 b/tools/m4/ax_check_highlight.m4 new file mode 100644 index 0000000..c72f128 --- /dev/null +++ b/tools/m4/ax_check_highlight.m4 @@ -0,0 +1,5 @@ +AC_DEFUN([AX_CHECK_HIGHLIGHT], + [AC_ARG_VAR([HIGHLIGHT], [path to highlight command]) + AC_CHECK_PROG([HIGHLIGHT], [highlight], [highlight]) + AS_IF([test x"$HIGHLIGHT" = x], [$1]) + AM_CONDITIONAL([HAVE_HIGHLIGHT], [test x"$HIGHLIGHT" != x])]) |