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:
parent
1b64bfa05e
commit
c8025927ae
2 changed files with 2 additions and 2 deletions
|
@ -496,7 +496,7 @@ elif test "$assert" = soft; then
|
||||||
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
|
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
|
||||||
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
|
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
|
||||||
elif test "$assert" = yes; then
|
elif test "$assert" = yes; then
|
||||||
assert = "hard";
|
assert="hard"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(if you want to do a profile build)
|
AC_MSG_CHECKING(if you want to do a profile build)
|
||||||
|
|
|
@ -404,7 +404,7 @@ elif test "$assert" = soft; then
|
||||||
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
|
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
|
||||||
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
|
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
|
||||||
elif test "$assert" = yes; then
|
elif test "$assert" = yes; then
|
||||||
assert = "hard";
|
assert="hard"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(if you want to do a profile build)
|
AC_MSG_CHECKING(if you want to do a profile build)
|
||||||
|
|
Loading…
Reference in a new issue