Only look for the port command on MacOS

* configure.ac: Only look for the port command on MacOS (bug#50259).
This commit is contained in:
Lars Ingebrigtsen 2021-08-30 01:20:30 +02:00
parent 5da9b3d2bd
commit 31226b0341

View file

@ -1335,7 +1335,9 @@ if test -n "$BREW"; then
fi
# Check MacPorts on macOS.
AC_PATH_PROG(HAVE_MACPORTS, port)
if test $opsys = darwin; then
AC_PATH_PROG(HAVE_MACPORTS, port)
fi
## Require makeinfo >= 4.13 (last of the 4.x series) to build the manuals.
: ${MAKEINFO:=makeinfo}