From c8025927ae14de62f5232d7e54c913bce9e89caf Mon Sep 17 00:00:00 2001 From: jailbird777 Date: Tue, 16 Aug 2022 14:04:37 -0500 Subject: [PATCH] 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. --- configure.ac | 2 +- librb/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 752673e0..f261614e 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/librb/configure.ac b/librb/configure.ac index 13b6791a..89ef564d 100644 --- a/librb/configure.ac +++ b/librb/configure.ac @@ -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)