Changeset 7739
- Timestamp:
- Jan 17, 2009, 11:12:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r7726 r7739 20 20 AC_PROG_LIBTOOL 21 21 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]) 22 if test m4_substr(peer_id_prefix,6,1) = "0"; then 23 supported_build=yes 24 CFLAGS="$CFLAGS -g -O3 -funroll-loops " 25 CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops " 26 AC_DEFINE(TR_STABLE_RELEASE, 1, [Define to 1 if this is a stable release of Transmission]) 27 else 24 28 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 28 else 29 AC_DEFINE(TR_STABLE_RELEASE, 1, [Define to 1 if this is a stable release of Transmission]) 30 supported_build=yes 29 CFLAGS="$CFLAGS -g -O0" 30 CXXFLAGS="$CXXFLAGS -g -O0" 31 if test m4_substr(peer_id_prefix,6,1) = "X"; then 32 AC_DEFINE(TR_BETA_RELEASE, 1, [Define to 1 if this is a beta release of Transmission]) 33 else 34 AC_DEFINE(TR_NIGHTLY_RELEASE, 1, [Define to 1 if this is a nightly release of Transmission]) 35 fi 31 36 fi 32 37 AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno") … … 94 99 ) 95 100 ]) 96 97 98 dnl ----------------------------------------------------------------------------99 dnl100 dnl debugging support101 AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug],[build with debugging support]),,,)102 if test "x$enable_debug" = "xyes" ; then103 CFLAGS="$CFLAGS -g -O0"104 CXXFLAGS="$CXXFLAGS -g -O0"105 else106 CFLAGS="$CFLAGS -g -O3 -funroll-loops -DNDEBUG "107 CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops -DNDEBUG "108 fi109 110 101 111 102 dnl ---------------------------------------------------------------------------- … … 336 327 Source code location: ${srcdir} 337 328 Compiler: ${CXX} 338 Debugging support ${enable_debug}339 329 Build Command-Line client: ${build_cli} 340 330 Build Daemon: ${build_daemon}
Note: See TracChangeset
for help on using the changeset viewer.