summaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-10-14 21:21:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-10-14 21:21:51 +0000
commitf335bac8a38e816c4243474d7c7d186638d3aab4 (patch)
tree502d5e4a16985ae070e1c1b1ec53c5c581386802 /maketgz
parent51369753bb65bbe3bb2fc88fdfb701f7ff76c72a (diff)
downloadcurl-f335bac8a38e816c4243474d7c7d186638d3aab4.tar.gz
Reverted the LIBCURL_VERSION_NUM change from October 6. As Dave Dribin
reported, the define is used by the configure script and is assumed to use the 0xYYXXZZ format. This made "curl-config --vernum" fail in the 7.15.0 release version.
Diffstat (limited to 'maketgz')
-rwxr-xr-xmaketgz1
1 files changed, 1 insertions, 0 deletions
diff --git a/maketgz b/maketgz
index 91ac4c444..4941f8833 100755
--- a/maketgz
+++ b/maketgz
@@ -25,6 +25,7 @@ CHEADER=src/version.h
# Replace version number in header file:
sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g' \
+ -e 's/^#define LIBCURL_VERSION_NUM .*/#define LIBCURL_VERSION_NUM 0x'$numeric'/g' \
-e 's/^#define LIBCURL_VERSION_MAJOR .*/#define LIBCURL_VERSION_MAJOR '$major'/g' \
-e 's/^#define LIBCURL_VERSION_MINOR .*/#define LIBCURL_VERSION_MINOR '$minor'/g' \
-e 's/^#define LIBCURL_VERSION_PATCH .*/#define LIBCURL_VERSION_PATCH '$patch'/g' \