From 83ca1948bc6c3a5a2108a100fc34f0601a58f4aa Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Wed, 29 Aug 2018 12:12:34 +0000 Subject: [PATCH] configure.ac: Replace tests with '==' through '=' On NetBSD configure.ac cannot have '==' in tests. So we have to replace them with '='. Signed-off-by: Stefan Berger --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 512e16bf..7597cf30 100644 --- a/configure.ac +++ b/configure.ac @@ -41,17 +41,17 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [create a debug build]), # If the user has not set CFLAGS, do something appropriate test_CFLAGS=${CFLAGS+set} if test "$test_CFLAGS" != set; then - if test "$DEBUG" == "yes"; then + if test "$DEBUG" = "yes"; then CFLAGS="-O0 -g -DDEBUG" else CFLAGS="-g -O2" fi -elif test "$DEBUG" == "yes"; then +elif test "$DEBUG" = "yes"; then CFLAGS="$CFLAGS -O0 -g -DDEBUG" fi debug_defines= -if test "$DEBUG" == "yes"; then +if test "$DEBUG" = "yes"; then debug_defines="-DTPM_DEBUG" # Enable the following only if ABSOLUTELY necessary # volatile state will be written and behavior changes