diff options
author | Kimmo Suominen <kimmo@suominen.com> | 2020-05-10 12:17:24 +0200 |
---|---|---|
committer | Kimmo Suominen <kimmo@suominen.com> | 2020-05-10 12:17:24 +0200 |
commit | 622bb31261886c3e36b9fd24cfd193119813ef31 (patch) | |
tree | 4b01857cab99918bafde9afbb7645e8666fac2ae | |
parent | Merge pull request #24 from Polynomial-C/enable-threads_build_fix (diff) | |
download | haveged-622bb31261886c3e36b9fd24cfd193119813ef31.tar.xz haveged-622bb31261886c3e36b9fd24cfd193119813ef31.zip |
Use POSIX shell comparison for equality
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -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 |