Skip to content

Commit

Permalink
Don't use '--output /dev/null' for Pandoc test
Browse files Browse the repository at this point in the history
Under MSYS2 Pandoc redirects this as a request to open the regular
nul: device of Windows and then returns an error because it cannot
find it.
  • Loading branch information
morganwillcock committed Aug 30, 2021
1 parent 917f1e3 commit a93bad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/AGS_PROG_PANDOC.m4
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AC_ARG_VAR([PANDOC], [path to PANDOC])
AS_IF([test "x${PANDOC}" = x],
[AC_CACHE_CHECK([for pandoc], [ac_cv_path_PANDOC],
[AC_PATH_PROGS_FEATURE_CHECK([PANDOC], [pandoc],
[[echo | "$ac_path_PANDOC" --to "$1" --output /dev/null && \
[[echo | "$ac_path_PANDOC" --to "$1" >/dev/null && \
ac_cv_path_PANDOC="$ac_path_PANDOC" ac_path_PANDOC_found=:]],
[AC_MSG_ERROR([could not find pandoc with required features])])])
Expand Down

0 comments on commit a93bad8

Please sign in to comment.