summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2016-10-27 13:39:37 +0200
committerMichael Osipov <1983-01-06@gmx.net>2016-10-27 13:41:26 +0200
commit905f493bd0c72e4320b5b4bd8ab72ae179f5954f (patch)
tree59e98253d971be5d594fdd7506777f874a6fbe63 /acinclude.m4
parenta65db0bbcbcafb6bb7fa58c606cd92199b3d5aa7 (diff)
downloadcurl-905f493bd0c72e4320b5b4bd8ab72ae179f5954f.tar.gz
configure.in: Fix test syntax
Some versions of test allow == for equality, but others (such as the HP-UX version) do not. Use a single = for correctness. Error output: checking for monotonic clock_gettime... ./configure[20445]: ==: A test command parameter is not valid.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 95a73e5ec..fcc2caf36 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1856,7 +1856,7 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h)
AC_MSG_CHECKING([for monotonic clock_gettime])
#
- if test "x$dontwant_rt" == "xno" ; then
+ if test "x$dontwant_rt" = "xno" ; then
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#ifdef HAVE_SYS_TYPES_H