diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-10 19:38:51 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-10 21:56:58 +0000 |
commit | 5aaffa6a1b8dadd6a867e4cb98a5a0b7b0452528 (patch) | |
tree | a149098f7eff3f2aeca0fe245ca274c37f957e89 /configure.ac | |
parent | 7afa5fe18e87f0df7fae35316359cbf9df795363 (diff) | |
download | haskell-5aaffa6a1b8dadd6a867e4cb98a5a0b7b0452528.tar.gz |
Fix some more sh syntax in configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 0ee3969de8..7e2732c79c 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 |