Fix assert = hard assignments

The spaces surrounding the = is bad syntax, which causes the shell to try to
execute 'assert'.

Granted, all of this is just cosmetic, as the only use of $assert seems to be
in the echo at the end of the configure run.
This commit is contained in:
jailbird777 2022-08-16 14:04:37 -05:00 committed by Doug Freed
parent 1b64bfa05e
commit c8025927ae
2 changed files with 2 additions and 2 deletions

View file

@ -496,7 +496,7 @@ elif test "$assert" = soft; then
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
elif test "$assert" = yes; then
assert = "hard";
assert="hard"
fi
AC_MSG_CHECKING(if you want to do a profile build)

View file

@ -404,7 +404,7 @@ elif test "$assert" = soft; then
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
elif test "$assert" = yes; then
assert = "hard";
assert="hard"
fi
AC_MSG_CHECKING(if you want to do a profile build)