]> granicus.if.org Git - curl/commit
configure: fix the check for unsigned time_t
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2018 21:32:57 +0000 (22:32 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2018 21:32:57 +0000 (22:32 +0100)
commit9a230ba419eb3bd74c82dd7560cbb09b4b027b8a
tree71afd4f3244ea64a68ee542e616ca13cc03428f8
parent1c39128d974666107fc6d9ea15f294036851f224
configure: fix the check for unsigned time_t

Assign the time_t variable negative value and then check if it is
greater than zero, which will evaluate true for unsigned time_t but
false for signed time_t.
configure.ac