aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-06 20:56:15 -0600
committerJack Nagel2013-12-06 20:56:46 -0600
commit009541c4467ac56fbae2cd628563ca9b0f429063 (patch)
treefea83e599d3f041b2c87b18b7feace8c8d607309 /Library
parenta9823bc518a3e8cac0dca8f9c51af20dcdd7e8a5 (diff)
downloadbrew-009541c4467ac56fbae2cd628563ca9b0f429063.tar.bz2
Help autoconf find m4 on Xcode-only systems
Closes Homebrew/homebrew#24904.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index f89b89b36..57d07c637 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -82,6 +82,7 @@ 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'] = MacOS.locate("m4") if deps.include? "autoconf"
# The HOMEBREW_CCCFG ENV variable is used by the ENV/cc tool to control
# compiler flag stripping. It consists of a string of characters which act