aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-11-15 00:15:50 -0600
committerJack Nagel2013-11-15 00:40:17 -0600
commitbceed105ad8870a9d1c8af1d4026dcd10baa2ec5 (patch)
tree1fbea2ed14afb8cfe651a4202a88991f1470f4dd
parent1c237fbe83f0095113aba8113be892cc8b0c63ae (diff)
downloadhomebrew-bceed105ad8870a9d1c8af1d4026dcd10baa2ec5.tar.bz2
Improve heuristic for detecting configure
-rwxr-xr-xLibrary/ENV/4.3/cc4
-rw-r--r--Library/Homebrew/extend/ENV/super.rb6
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)