mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
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.
This commit is contained in:
parent
a65db0bbcb
commit
905f493bd0
@ -1856,7 +1856,7 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
|
|||||||
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h)
|
AC_CHECK_HEADERS(sys/types.h sys/time.h time.h)
|
||||||
AC_MSG_CHECKING([for monotonic clock_gettime])
|
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_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
Loading…
Reference in New Issue
Block a user