configure.ac: avoid bashisms
configure scripts need to be written in POSIX-compliant shell; using
'==' is a Bashism (doesn't work for POSIX-compliant shells). Let's
use '=' as we do elsewhere to fix compatibility.
Fixes:
@@ -137,7 +137,7 @@ AC_MSG_RESULT([$enable_ptrace])
AC_ARG_ENABLE(setjmp,
AS_HELP_STRING([--enable-setjmp],[building libunwind-setjmp library]),,
- [AS_IF([test x$target_arch == x$host_arch], [enable_setjmp=yes], [enable_setjmp=no])]
+ [AS_IF([test x$target_arch = x$host_arch], [enable_setjmp=yes], [enable_setjmp=no])]
)
AC_ARG_ENABLE(documentation,
@@ -264,7 +264,7 @@ case "${target_arch}" in
(aarch64) enable_debug_frame=yes;;
(*) enable_debug_frame=no;;
esac])
-if test x$remote_only == xyes; then
+if test x$remote_only = xyes; then
enable_debug_frame=no
fi
if test x$enable_debug_frame = xyes; then
