summaryrefslogtreecommitdiff
path: root/tools/m4/ax_check_highlight.m4
blob: c72f128130f5f04cdb73348a240cd066765cee47 (plain)
1
2
3
4
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])])