Changeset 7033
- Timestamp:
- Nov 4, 2008, 2:09:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r6925 r7033 1 AC_PREREQ(2.54) 2 3 m4_define([tr_version_major], [1]) 4 m4_define([tr_version_minor], [34]) 5 m4_define([tr_version_suffix], [+]) 6 m4_define([tr_version], [tr_version_major.tr_version_minor]) 7 8 AC_INIT([Transmission], [tr_version], [http://trac.transmissionbt.com/newticket], [transmission]) 1 dnl convention: -TR MAJOR MINOR MAINT STATUS - (each a single char) 2 dnl STATUS: "X" for prerelease test builds, 3 dnl "Z" for unsupported trunk builds, 4 dnl "0" for stable, supported releases 5 dnl these should be the only two lines you need to change 6 USERAGENT_PREFIX="1.40b1" 7 PEERID_PREFIX="-TR140X-" 8 9 AC_INIT([transmission],[$USERAGENT_PREFIX],[http://trac.transmissionbt.com/newticket]) 10 AC_SUBST(USERAGENT_PREFIX,[$USERAGENT_PREFIX]) 11 AC_SUBST(PEERID_PREFIX,[$PEERID_PREFIX]) 12 9 13 AC_CONFIG_MACRO_DIR([m4]) 10 11 TR_VERSION_MAJOR=tr_version_major12 TR_VERSION_MINOR=tr_version_minor13 TR_VERSION_SUFFIX=tr_version_suffix14 TR_VERSION=tr_version15 16 dnl Someone still needs to hook this up to the system above17 PEERID_PREFIX="-TR134Z-"18 19 USERAGENT_PREFIX=$TR_VERSION$TR_VERSION_SUFFIX20 21 AC_SUBST(PEERID_PREFIX,[$PEERID_PREFIX])22 AC_SUBST(USERAGENT_PREFIX,[$USERAGENT_PREFIX])23 14 24 15 dnl AM_CONFIG_HEADER(config.h) … … 27 18 AC_PROG_LIBTOOL 28 19 29 if test "x$TR_VERSION_SUFFIX" = "x+"; then 30 AC_DEFINE(TR_UNSTABLE, 1, 31 [Define to 1 if this is an unstable version of Transmission]) 20 if test "x${PEERID_PREFIX: -2:1}" = "xZ"; then 21 AC_DEFINE(TR_UNSTABLE, 1, [Define to 1 if this is an unstable version of Transmission]) 32 22 TR_UNSTABLE=yes 33 23 fi
Note: See TracChangeset
for help on using the changeset viewer.