From 0b26b94bdc2c28da0443503305ee9670b01c1337 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 May 2015 11:28:44 +0200 Subject: [PATCH] curlver: restore LIBCURL_VERSION_NUM defined as a full number As it breaks configure, curl-config and test 1023 if not. --- include/curl/curlver.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/curl/curlver.h b/include/curl/curlver.h index ad85e5093..be442eff8 100644 --- a/include/curl/curlver.h +++ b/include/curl/curlver.h @@ -52,10 +52,12 @@ This 6-digit (24 bits) hexadecimal number does not show pre-release number, and it is always a greater number in a more recent release. It makes comparisons with greater than and less than work. + + Note: This define is the full hex number and _does not_ use the + CURL_VERSION_BITS() macro since curl's own configure script greps for it + and needs it to contain the full number. */ -#define LIBCURL_VERSION_NUM CURL_VERSION_BITS(LIBCURL_VERSION_MAJOR, \ - LIBCURL_VERSION_MINOR, \ - LIBCURL_VERSION_PATCH) +#define LIBCURL_VERSION_NUM 0x072B00 /* * This is the date and time when the full source package was created. The