Changeset 5039
- Timestamp:
- 11/01/07 20:13:07 (9 months ago)
- Files:
-
- wire/trunk/config.h.in (modified) (1 diff)
- wire/trunk/configure (modified) (1 diff)
- wire/trunk/configure.in (modified) (1 diff)
- wire/trunk/wire/version.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wire/trunk/config.h.in
r4054 r5039 72 72 #undef STDC_HEADERS 73 73 74 /* Subversion revision */ 75 #undef WI_REVISION 76 74 77 /* Maintainer's email address */ 75 78 #undef WR_BUGREPORT wire/trunk/configure
r5034 r5039 1922 1922 1923 1923 1924 # Get Subversion revision 1925 1926 WI_REVISION=$(svn info 2>&1 | grep "^Revision" | sed -e 's/^Revision: //') 1927 1928 if test -z "$WI_REVISION"; then 1929 WI_REVISION=0 1930 fi 1931 1932 1933 cat >>confdefs.h <<_ACEOF 1934 #define WI_REVISION $WI_REVISION 1935 _ACEOF 1936 1937 1938 1924 1939 # These are used in the source code 1925 1940 wire/trunk/configure.in
r4522 r5039 10 10 # Get host 11 11 AC_CANONICAL_HOST 12 13 # Get Subversion revision 14 WI_CHECK_SVN_REVISION 12 15 13 16 # These are used in the source code wire/trunk/wire/version.c
r4399 r5039 41 41 42 42 void wr_version_init(void) { 43 wr_version_string = wi_string_init_with_ cstring(wi_string_alloc(), WR_VERSION);43 wr_version_string = wi_string_init_with_format(wi_string_alloc(), WI_STR("%s (%u)"), WR_VERSION, WI_REVISION); 44 44 wr_protocol_version_string = wi_string_init_with_cstring(wi_string_alloc(), WR_PROTOCOL_VERSION); 45 45 wr_client_version_string = wi_string_init_with_format(wi_string_alloc(), WI_STR("Wire/%@ (%@; %@; %@) (%s; readline %s)"),
