diff options
| author | Jack Nagel | 2013-11-15 00:15:50 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-15 00:40:17 -0600 |
| commit | ba0cfd3582702aa957edf37338c4e8f3391c65bf (patch) | |
| tree | 95009cdbd7a0b2c4762c23e411a897a0a505dc00 /Library | |
| parent | 0f0bcd4beda74782428fc7770f1aab253c419cad (diff) | |
| download | brew-ba0cfd3582702aa957edf37338c4e8f3391c65bf.tar.bz2 | |
Improve heuristic for detecting configure
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 4 | ||||
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index eeb87e332..d2c7be0ce 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -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 diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index a71e4075c..889ac58a0 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -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) |
