diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-19 14:58:43 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-19 16:53:48 +0000 |
commit | 3f6b6842f33f6ac74bdaa61cfa47565d509fa453 (patch) | |
tree | b98dcace549acbf01502db9f3699ef731de184a9 /configure.ac | |
parent | bf79fdbb43d8f3e93ce9eea67bff8d17dde29b10 (diff) |
Use string comparison operator in configure.ac.
.. to compare strings. `==` is for numeric values.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d070cd77..ac5d31a9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -468,7 +468,7 @@ AC_C_BIGENDIAN | |||
468 | # Checks for library functions. | 468 | # Checks for library functions. |
469 | AC_FUNC_FORK | 469 | AC_FUNC_FORK |
470 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) | 470 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) |
471 | if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" == "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then | 471 | if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" = "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then |
472 | AC_CHECK_LIB(rt, clock_gettime, | 472 | AC_CHECK_LIB(rt, clock_gettime, |
473 | [ | 473 | [ |
474 | RT_LIBS="-lrt" | 474 | RT_LIBS="-lrt" |