From 31226b034136769723c69679a4a302299fbb9e7b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 30 Aug 2021 01:20:30 +0200 Subject: [PATCH] Only look for the port command on MacOS * configure.ac: Only look for the port command on MacOS (bug#50259). --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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} -- 2.39.2