]> git.eshelyaron.com Git - emacs.git/commitdiff
Only look for the port command on MacOS
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 Aug 2021 23:20:30 +0000 (01:20 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 Aug 2021 23:20:30 +0000 (01:20 +0200)
* configure.ac: Only look for the port command on MacOS (bug#50259).

configure.ac

index a1deb7b0ddee2f3c76487b5a7652f7cc6541f282..6d204b61030e9668688381ff4fc91cda48f5428c 100644 (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}