From 5aaffa6a1b8dadd6a867e4cb98a5a0b7b0452528 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 10 Feb 2012 19:38:51 +0000 Subject: [PATCH] Fix some more sh syntax in configure.ac --- configure.ac | 5 +++-- 1 file 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 -- GitLab