Skip to content

Commit

Permalink
configure.ac: replace AC_CHECK_FILE
Browse files Browse the repository at this point in the history
AC_CHECK_FILE can't be used when cross-compiling so replace it by a
simple test -f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  • Loading branch information
ffontaine committed Oct 12, 2020
1 parent 1e3f509 commit 4ddfdca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ AC_PROG_CC_STDC
# Check for a2x only if the man page is missing, i.e. we are building from git. The release tarballs
# are set up to include the man pages. This way, only people creating tarballs via `make dist` and
# people building from git need a2x as a dependency.
AC_CHECK_FILE(
[src/pixz.1],
AS_IF(
[test -f src/pixz.1],
[],
[
AC_ARG_WITH(
Expand Down

0 comments on commit 4ddfdca

Please sign in to comment.