Changeset 7725
- Timestamp:
- Jan 16, 2009, 9:29:48 PM (12 years ago)
- Location:
- branches/1.5x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5x/configure.ac
r7722 r7725 20 20 AC_PROG_LIBTOOL 21 21 22 if test m4_substr(peer_id_prefix,6,1) = "Z"; then 23 AC_DEFINE(TR_UNSTABLE, 1, [Define to 1 if this is an unstable version of Transmission]) 24 TR_UNSTABLE=yes 25 enable_debug=yes 22 if test m4_substr(peer_id_prefix,6,1) = "X"; then 23 AC_DEFINE(TR_BETA_RELEASE, 1, [Define to 1 if this is a beta release of Transmission]) 24 supported_build=no 25 elif test m4_substr(peer_id_prefix,6,1) = "Z"; then 26 AC_DEFINE(TR_NIGHTLY_RELEASE, 1, [Define to 1 if this is a nightly release of Transmission]) 27 supported_build=no 26 28 else 27 enable_debug=no 28 fi 29 AM_CONDITIONAL(TR_UNSTABLE, test "x$TR_UNSTABLE" = "xyes") 29 AC_DEFINE(TR_STABLE_RELEASE, 1, [Define to 1 if this is a stable release of Transmission]) 30 supported_build=yes 31 fi 32 AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno") 30 33 31 34 OPENSSL_MINIMUM=0.9.4 -
branches/1.5x/macosx/version.sh
r7666 r7725 49 49 #define BUNDLE_VERSION_INFOPLIST $SVN_REVISION 50 50 EOF 51 52 # add a release definition 53 if [ ${PEERID_PREFIX:6:1} = X ]; then 54 line='#define TR_BETA_RELEASE "BETA"' 55 elif [ ${PEERID_PREFIX:6:1} = Z ]; then 56 line='#define TR_NIGHTLY_RELEASE "NIGHTLY"' 57 else 58 line='#define TR_STABLE_RELEASE "STABLE"' 59 fi 60 echo $line >> libtransmission/version.h.new 61 51 62 replace_if_differs libtransmission/version.h.new libtransmission/version.h 52 63
Note: See TracChangeset
for help on using the changeset viewer.