diff options
author | jirka-h <hladky.jiri@gmail.com> | 2020-05-11 15:57:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 15:57:33 +0200 |
commit | 6268d7bb36fb7d825f0cb4b6cbffb35608ee5bd4 (patch) | |
tree | 4b01857cab99918bafde9afbb7645e8666fac2ae | |
parent | Merge pull request #24 from Polynomial-C/enable-threads_build_fix (diff) | |
parent | Use POSIX shell comparison for equality (diff) | |
download | haveged-6268d7bb36fb7d825f0cb4b6cbffb35608ee5bd4.tar.xz haveged-6268d7bb36fb7d825f0cb4b6cbffb35608ee5bd4.zip |
Merge pull request #32 from suominen/posix
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 |