From 3f6b6842f33f6ac74bdaa61cfa47565d509fa453 Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 19 Jul 2018 14:58:43 +0000 Subject: [PATCH] Use string comparison operator in configure.ac. .. to compare strings. `==` is for numeric values. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 # Checks for library functions. AC_FUNC_FORK AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) -if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" == "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then +if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" = "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then AC_CHECK_LIB(rt, clock_gettime, [ RT_LIBS="-lrt"