[commit: ghc] master: Fix accidentally commited debug form of FIND_LLVM_PROG. (7cafe18)

David Terei davidterei at gmail.com
Mon Mar 4 03:00:48 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/7cafe18daaf23e02d4afd2223082565a026d6efd

>---------------------------------------------------------------

commit 7cafe18daaf23e02d4afd2223082565a026d6efd
Author: David Terei <davidterei at gmail.com>
Date:   Sun Mar 3 17:59:42 2013 -0800

    Fix accidentally commited debug form of FIND_LLVM_PROG.

>---------------------------------------------------------------

 aclocal.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 415388d..69b40fc 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1965,16 +1965,16 @@ AC_DEFUN([XCODE_VERSION],[
 #
 AC_DEFUN([FIND_LLVM_PROG],[
     FP_ARG_WITH_PATH_GNU_PROG_OPTIONAL([$1], [$2], [$3])
-    if test "$$1" != ""; then
+    if test "$$1" == ""; then
         save_IFS=$IFS
         IFS=":;"
         for p in ${PATH}; do
-	    if test -d "${p}"; then
+            if test -d "${p}"; then
                 $1=`${FindCmd} "${p}" -type f -perm +111 -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' -or -type l -perm +111 -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' | ${SortCmd} -n | tail -1`
                 if test -n "$1"; then
                     break
                 fi
-	    fi
+            fi
         done
         IFS=$save_IFS
     fi





More information about the ghc-commits mailing list