Help autoconf find m4 on Xcode-only systems

Closes Homebrew/homebrew#24904.
This commit is contained in:
Jack Nagel 2013-12-06 20:56:15 -06:00
parent a9823bc518
commit 009541c446

View File

@ -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