Changeset 8815


Ignore:
Timestamp:
Jul 15, 2009, 12:42:22 AM (13 years ago)
Author:
livings124
Message:

#2278 configure.ac: remove AC_DEFINEs of TR_*_RELEASE

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8814 r8815  
    2626    CXXFLAGS="$CXXFLAGS -g -O3 "
    2727  fi
    28   AC_DEFINE(TR_STABLE_RELEASE, 1, [Define to 1 if this is a stable release of Transmission])
    2928else
    3029  supported_build=no
     
    3231    CFLAGS="$CFLAGS -g -O0"
    3332    CXXFLAGS="$CXXFLAGS -g -O0"
    34   fi
    35   if test m4_substr(peer_id_prefix,6,1) = "X"; then
    36     AC_DEFINE(TR_BETA_RELEASE, 1, [Define to 1 if this is a beta release of Transmission])
    37   else
    38     AC_DEFINE(TR_NIGHTLY_RELEASE, 1, [Define to 1 if this is a nightly release of Transmission])
    3933  fi
    4034fi
  • trunk/update-version-h.sh

    r8794 r8815  
    3939# Add a release definition
    4040case "${peer_id_prefix}" in
    41     *X-) echo '#define TR_BETA_RELEASE       "BETA"' ;;
    42     *Z-) echo '#define TR_NIGHTLY_RELEASE    "NIGHTLY"' ;;
    43     *)   echo '#define TR_STABLE_RELEASE     "STABLE"' ;;
     41    *X-) echo '#define TR_BETA_RELEASE           1' ;;
     42    *Z-) echo '#define TR_NIGHTLY_RELEASE        1' ;;
     43    *)   echo '#define TR_STABLE_RELEASE         1' ;;
    4444esac >> "libtransmission/version.h.new"
    4545
Note: See TracChangeset for help on using the changeset viewer.