]> granicus.if.org Git - curl/commitdiff
configure.in: Fix test syntax
authorMichael Osipov <1983-01-06@gmx.net>
Thu, 27 Oct 2016 11:39:37 +0000 (13:39 +0200)
committerMichael Osipov <1983-01-06@gmx.net>
Thu, 27 Oct 2016 11:41:26 +0000 (13:41 +0200)
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.

acinclude.m4

index 95a73e5ec0ea35d4b9263071f4d286d4645d432f..fcc2caf36e81562fd29d36ee3cd1cabe4c9caecc 100644 (file)
@@ -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