[GHC] #7661: GHC build system does not detect opt-3.0 and friends
GHC
ghc-devs at haskell.org
Thu Jun 20 01:08:52 CEST 2013
#7661: GHC build system does not detect opt-3.0 and friends
---------------------------------+------------------------------------------
Reporter: singpolyma | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 7.7 | Resolution:
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Building GHC failed
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by singpolyma):
The following fixes this regression:
{{{
diff --git a/aclocal.m4 b/aclocal.m4
index 2ab4ad5..dab7438 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2022,7 +2022,7 @@ AC_DEFUN([FIND_LLVM_PROG],[
for p in ${PATH}; do
if test -d "${p}"; then
$1=`${FindCmd} "${p}" -type f -perm +111 -maxdepth 1
-regex '.
- if test -n "$1"; then
+ if test -n "$$1"; then
break
fi
fi
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7661#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list