2
0
mirror of https://github.com/vasi/pixz synced 2024-10-30 15:21:41 +00:00

configure.ac: replace AC_CHECK_FILE

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>
This commit is contained in:
Fabrice Fontaine 2020-10-12 22:40:13 +02:00
parent 1e3f509148
commit 4ddfdca841

View File

@ -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(