Commit 5aaffa6a authored by Ian Lynagh's avatar Ian Lynagh

Fix some more sh syntax in configure.ac

parent 7afa5fe1
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment