From: Lars Ingebrigtsen Date: Sun, 29 Aug 2021 23:20:30 +0000 (+0200) Subject: Only look for the port command on MacOS X-Git-Tag: emacs-28.0.90~1265 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31226b034136769723c69679a4a302299fbb9e7b;p=emacs.git Only look for the port command on MacOS * configure.ac: Only look for the port command on MacOS (bug#50259). --- 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}