Use more compatible "=" in test(1) instead of "=="

The latter is not supported in all shells and results in problems under
NetBSD for example.

Closes #18198.
This commit is contained in:
Vadim Zeitlin 2018-08-16 13:45:53 +02:00
parent 99cb097f4d
commit 48fc60609d
4 changed files with 5 additions and 5 deletions

View file

@ -323,7 +323,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD],
SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
fi
if test "x$GCC" == "xyes"; then
if test "x$GCC" = "xyes"; then
PIC_FLAG="-dynamic -fPIC"
fi
if test "x$XLCC" = "xyes"; then