Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5aaffa6a1b8dadd6a867e4cb98a5a0b7b0452528

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

commit 5aaffa6a1b8dadd6a867e4cb98a5a0b7b0452528
Author: Ian Lynagh <[email protected]>
Date:   Fri Feb 10 19:38:51 2012 +0000

    Fix some more sh syntax in configure.ac

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

 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0ee3969..7e2732c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,7 +369,8 @@ host must equal build or target. The two allowed cases are:
                                   architecture
 ])
 fi
-if [[ "$CrossCompiling" == "YES" ]] ; then
+if test "$CrossCompiling" = "YES"
+then
   CrossCompilePrefix="${target}-"
 else
   CrossCompilePrefix=""
@@ -562,7 +563,7 @@ dnl ** check for dtrace (currently only implemented for Mac 
OS X)
 HaveDtrace=NO
 AC_PATH_PROG(DtraceCmd,dtrace)
 if test -n "$DtraceCmd"; then
-  if test "x$TargetOS_CPP-$TargetVendor_CPP" == "xdarwin-apple" -o 
"x$TargetOS_CPP-$TargetVendor_CPP" == "xsolaris2-unknown"; then
+  if test "x$TargetOS_CPP-$TargetVendor_CPP" = "xdarwin-apple" -o 
"x$TargetOS_CPP-$TargetVendor_CPP" = "xsolaris2-unknown"; then
     HaveDtrace=YES
   fi
 fi



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to