]> jfr.im git - solanum.git/commitdiff
Fix assert = hard assignments
authorjailbird777 <redacted>
Tue, 16 Aug 2022 19:04:37 +0000 (14:04 -0500)
committerDoug Freed <redacted>
Wed, 24 Aug 2022 22:15:43 +0000 (18:15 -0400)
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.

configure.ac
librb/configure.ac

index 752673e038328eed8331ce7df36504fed8896961..f261614e2c9e1c71b30951bc8d7303ef74de6534 100644 (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)
index 13b6791a1ef4cccc4dfb135afd2974af9f369abd..89ef564d30b2571c4791691627cc4ab85472bbe3 100644 (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)