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?
|
||||
end
|
||||
def configure?
|
||||
# configure scripts generated with autoconf 2.56 or later export DUALCASE
|
||||
ENV.key? 'DUALCASE'
|
||||
# configure scripts generated with autoconf 2.61 or later export as_nl
|
||||
ENV.key? 'as_nl'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -53,9 +53,9 @@ module Superenv
|
||||
delete('GREP_OPTIONS') # can break CMake
|
||||
delete('CLICOLOR_FORCE') # autotools doesn't like this
|
||||
|
||||
# Configure scripts generated by autoconf 2.56 or later export DUALCASE,
|
||||
# which we use as a heuristic for running under configure
|
||||
delete('DUALCASE')
|
||||
# Configure scripts generated by autoconf 2.61 or later export as_nl, which
|
||||
# we use as a heuristic for running under configure
|
||||
delete('as_nl')
|
||||
end
|
||||
|
||||
def setup_build_environment(formula=nil)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user