diff options
author | Bill Stoddard <stoddard@apache.org> | 2004-02-22 04:27:49 +0100 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2004-02-22 04:27:49 +0100 |
commit | 9187dd7a897a97e2d4e105ef3a0a9edf62e54e70 (patch) | |
tree | 4423f42a494044fb7c55fbb398bf07023e00c18f /build/win32 | |
parent | add properties (diff) | |
download | apache2-9187dd7a897a97e2d4e105ef3a0a9edf62e54e70.tar.xz apache2-9187dd7a897a97e2d4e105ef3a0a9edf62e54e70.zip |
Win32: Fix compile breakage
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102745 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/win32')
-rw-r--r-- | build/win32/win32ver.awk | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/build/win32/win32ver.awk b/build/win32/win32ver.awk index ce64693c60..0930c4936e 100644 --- a/build/win32/win32ver.awk +++ b/build/win32/win32ver.awk @@ -49,18 +49,21 @@ BEGIN { } while ((getline < rel_h) > 0) { - if (match ($0, /^#define AP_SERVER_MAJORVERSION "[^"]+"/)) { - ver_major = substr($3, 2, length($3) - 2); + if (match ($0, /^#define AP_SERVER_MAJORVERSION_NUMBER [^*]/)) { + ver_major = $3; } - else if (match ($0, /^#define AP_SERVER_MINORVERSION "[^"]+"/)) { - ver_minor = substr($3, 2, length($3) - 2); + else if (match ($0, /^#define AP_SERVER_MINORVERSION_NUMBER [^*]/)) { + ver_minor = $3; } - else if (match ($0, /^#define AP_SERVER_PATCHLEVEL "[^"]+"/)) { - ver_patch = substr($3, 2, length($3) - 2); + else if (match ($0, /^#define AP_SERVER_PATCHLEVEL_NUMBER [^*]/)) { + ver_patch = $3; + } + else if (match ($0, /^#define AP_SERVER_ADD_STRING [^"]+"/)) { + ver_patch_modifier = substr($3, 2, length($3) - 2); } } - ver = ver_major "." ver_minor "." ver_patch; + ver = ver_major "." ver_minor "." ver_patch ver_patch_modifier; verc = ver_major "," ver_minor "," ver_patch; gsub(/\./, ",", verc); if (build) { |