Ticket #2278: trans-conf-release-defs.patch

File trans-conf-release-defs.patch, 794 bytes (added by stdisease, 13 years ago)
  • configure.ac

     
    2525    CFLAGS="$CFLAGS -g -O3 "
    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
    3130  if test "x$GCC" = "xyes" ; then
    3231    CFLAGS="$CFLAGS -g -O0"
    3332    CXXFLAGS="$CXXFLAGS -g -O0"
    3433  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])
    39   fi
    4034fi
    4135AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno")
    4236