Changeset 7726 for trunk/configure.ac
- Timestamp:
- Jan 16, 2009, 9:29:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r7662 r7726 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 … … 50 53 AC_C_INLINE 51 54 if test "x$GCC" = "xyes" ; then 52 CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Win line -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute"55 CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute" 53 56 CXXFLAGS="-Wall -Wformat-security -W" 54 57 fi
Note: See TracChangeset
for help on using the changeset viewer.