From f6eba3c1ea2c5ac069b667d45e39b739366e2ed6 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Wed, 24 Mar 2021 04:44:58 +0000 Subject: [PATCH] extend/ENV/super: remove M4 Building automake fails with autoconf 2.70+, when autoconf is used with macOS m4. It therefore makes sense for autoconf to depend on brewed m4. However, without the change proposed here, the setting of the M4 environment variable in superenv breaks the automake build. Related: https://github.com/Homebrew/homebrew-core/pull/73797 --- Library/Homebrew/extend/ENV/super.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index bacc76e7ea..3ac9ffeded 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -74,7 +74,6 @@ module Superenv self["CMAKE_INCLUDE_PATH"] = determine_cmake_include_path self["CMAKE_LIBRARY_PATH"] = determine_cmake_library_path self["ACLOCAL_PATH"] = determine_aclocal_path - self["M4"] = DevelopmentTools.locate("m4") if deps.any? { |d| d.name == "autoconf" } self["HOMEBREW_ISYSTEM_PATHS"] = determine_isystem_paths self["HOMEBREW_INCLUDE_PATHS"] = determine_include_paths self["HOMEBREW_LIBRARY_PATHS"] = determine_library_paths