|
Lines 21-33
Link Here
|
| 21 |
|
21 |
|
| 22 |
if test m4_substr(peer_id_prefix,6,1) = "0"; then |
22 |
if test m4_substr(peer_id_prefix,6,1) = "0"; then |
| 23 |
supported_build=yes |
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]) |
24 |
AC_DEFINE(TR_STABLE_RELEASE, 1, [Define to 1 if this is a stable release of Transmission]) |
| 27 |
else |
25 |
else |
| 28 |
supported_build=no |
26 |
supported_build=no |
| 29 |
CFLAGS="$CFLAGS -g -O0" |
|
|
| 30 |
CXXFLAGS="$CXXFLAGS -g -O0" |
| 31 |
if test m4_substr(peer_id_prefix,6,1) = "X"; then |
27 |
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]) |
28 |
AC_DEFINE(TR_BETA_RELEASE, 1, [Define to 1 if this is a beta release of Transmission]) |
| 33 |
else |
29 |
else |
|
Lines 56-65
Link Here
|
| 56 |
AC_PROG_CC |
52 |
AC_PROG_CC |
| 57 |
AC_PROG_CXX |
53 |
AC_PROG_CXX |
| 58 |
AC_C_INLINE |
54 |
AC_C_INLINE |
| 59 |
if test "x$GCC" = "xyes" ; then |
|
|
| 60 |
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" |
| 61 |
CXXFLAGS="-Wall -Wformat-security -W" |
| 62 |
fi |
| 63 |
|
55 |
|
| 64 |
AC_HEADER_STDC |
56 |
AC_HEADER_STDC |
| 65 |
AC_HEADER_TIME |
57 |
AC_HEADER_TIME |