summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-30 01:20:30 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-30 01:20:30 +0200
commit31226b034136769723c69679a4a302299fbb9e7b (patch)
treeaa9ca166895e1821dc485e5a9beac93d4b19a9cb /configure.ac
parent5da9b3d2bdde0c9d23cdcd9d55883878900daa78 (diff)
downloademacs-31226b034136769723c69679a4a302299fbb9e7b.tar.gz
Only look for the port command on MacOS
* configure.ac: Only look for the port command on MacOS (bug#50259).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a1deb7b0dde..6d204b61030 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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}