Improve heuristic for detecting configure
This commit is contained in:
parent
0f0bcd4bed
commit
ba0cfd3582
@ -262,8 +262,8 @@ class Cmd
|
|||||||
!ENV['VERBOSE'].nil? || !ENV['HOMEBREW_VERBOSE'].nil?
|
!ENV['VERBOSE'].nil? || !ENV['HOMEBREW_VERBOSE'].nil?
|
||||||
end
|
end
|
||||||
def configure?
|
def configure?
|
||||||
# configure scripts generated with autoconf 2.56 or later export DUALCASE
|
# configure scripts generated with autoconf 2.61 or later export as_nl
|
||||||
ENV.key? 'DUALCASE'
|
ENV.key? 'as_nl'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -53,9 +53,9 @@ module Superenv
|
|||||||
delete('GREP_OPTIONS') # can break CMake
|
delete('GREP_OPTIONS') # can break CMake
|
||||||
delete('CLICOLOR_FORCE') # autotools doesn't like this
|
delete('CLICOLOR_FORCE') # autotools doesn't like this
|
||||||
|
|
||||||
# Configure scripts generated by autoconf 2.56 or later export DUALCASE,
|
# Configure scripts generated by autoconf 2.61 or later export as_nl, which
|
||||||
# which we use as a heuristic for running under configure
|
# we use as a heuristic for running under configure
|
||||||
delete('DUALCASE')
|
delete('as_nl')
|
||||||
end
|
end
|
||||||
|
|
||||||
def setup_build_environment(formula=nil)
|
def setup_build_environment(formula=nil)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user