summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKimmo Suominen <kimmo@suominen.com>2020-05-10 12:17:24 +0200
committerKimmo Suominen <kimmo@suominen.com>2020-05-10 12:17:24 +0200
commit622bb31261886c3e36b9fd24cfd193119813ef31 (patch)
tree4b01857cab99918bafde9afbb7645e8666fac2ae
parentMerge pull request #24 from Polynomial-C/enable-threads_build_fix (diff)
downloadhaveged-622bb31261886c3e36b9fd24cfd193119813ef31.tar.xz
haveged-622bb31261886c3e36b9fd24cfd193119813ef31.zip
Use POSIX shell comparison for equality
-rwxr-xr-xconfigure8
-rw-r--r--configure.ac8
2 files changed, 8 insertions, 8 deletions
diff --git a/configure b/configure
index ddc0f66..c1f0c11 100755
--- a/configure
+++ b/configure
@@ -11993,12 +11993,12 @@ $as_echo "#define RAW_OUT_ENABLE 1" >>confdefs.h
$as_echo "#define RAW_IN_ENABLE 1" >>confdefs.h
enable_daemon="no";
-elif test "x$enable_diagnostic" == "xcapture"; then
+elif test "x$enable_diagnostic" = "xcapture"; then
$as_echo "#define RAW_OUT_ENABLE 1" >>confdefs.h
enable_daemon="no";
-elif test "x$enable_diagnostic" == "xinject"; then
+elif test "x$enable_diagnostic" = "xinject"; then
$as_echo "#define RAW_IN_ENABLE 1" >>confdefs.h
@@ -12078,11 +12078,11 @@ $as_echo "#define TUNING_CPUID_ENABLE 1" >>confdefs.h
$as_echo "#define TUNING_VFS_ENABLE 1" >>confdefs.h
-elif test "x$enable_tune" == "xcpuid"; then
+elif test "x$enable_tune" = "xcpuid"; then
$as_echo "#define TUNING_CPUID_ENABLE 1" >>confdefs.h
-elif test "x$enable_tune" == "xvfs"; then
+elif test "x$enable_tune" = "xvfs"; then
$as_echo "#define TUNING_VFS_ENABLE 1" >>confdefs.h
diff --git a/configure.ac b/configure.ac
index 4a20bef..6da1d6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,10 +41,10 @@ if test "x$enable_diagnostic" = "xyes"; then
AC_DEFINE(RAW_OUT_ENABLE, 1, [Define to 1 for capture diagnostic])
AC_DEFINE(RAW_IN_ENABLE, 1, [Define to 1 for injection diagnostic])
enable_daemon="no";
-elif test "x$enable_diagnostic" == "xcapture"; then
+elif test "x$enable_diagnostic" = "xcapture"; then
AC_DEFINE(RAW_OUT_ENABLE, 1, [Define to 1 for capture diagnostic])
enable_daemon="no";
-elif test "x$enable_diagnostic" == "xinject"; then
+elif test "x$enable_diagnostic" = "xinject"; then
AC_DEFINE(RAW_IN_ENABLE, 1, [Define to 1 for injection diagnostic])
enable_daemon="no";
fi
@@ -88,9 +88,9 @@ AC_ARG_ENABLE(tune,
if test "x$enable_tune" = "xyes"; then
AC_DEFINE(TUNING_CPUID_ENABLE, 1, [Define to 1 to tune with host cpuid])
AC_DEFINE(TUNING_VFS_ENABLE, 1, [Define to 1 to tune with host vfs])
-elif test "x$enable_tune" == "xcpuid"; then
+elif test "x$enable_tune" = "xcpuid"; then
AC_DEFINE(TUNING_CPUID_ENABLE, 1, [Define to 1 to tune with host cpuid])
-elif test "x$enable_tune" == "xvfs"; then
+elif test "x$enable_tune" = "xvfs"; then
AC_DEFINE(TUNING_VFS_ENABLE, 1, [Define to 1 to tune wiht host vfs])
fi