Changeset 6532 for trunk/configure.ac


Ignore:
Timestamp:
Aug 15, 2008, 7:31:59 PM (13 years ago)
Author:
muks
Message:

Enable checking of deprecated GTK usage (in beta/unstable releases only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r6524 r6532  
    1 AC_INIT([transmission],[1.32+],[http://trac.transmissionbt.com/newticket])
     1AC_PREREQ(2.54)
     2
     3m4_define([tr_version_major], [1])
     4m4_define([tr_version_minor], [32])
     5m4_define([tr_version_suffix], [+])
     6m4_define([tr_version], [tr_version_major.tr_version_minor])
     7
     8AC_INIT([Transmission], [tr_version], [http://trac.transmissionbt.com/newticket], [transmission])
     9
     10TR_VERSION_MAJOR=tr_version_major
     11TR_VERSION_MINOR=tr_version_minor
     12TR_VERSION_SUFFIX=tr_version_suffix
     13TR_VERSION=tr_version
     14
     15dnl Someone still needs to hook this up to the system above
    216PEERID_PREFIX="-TR132Z-"
    3 USERAGENT_PREFIX="1.32+"
     17
     18USERAGENT_PREFIX=$TR_VERSION$TR_VERSION_SUFFIX
     19
    420AC_SUBST(PEERID_PREFIX,[$PEERID_PREFIX])
    521AC_SUBST(USERAGENT_PREFIX,[$USERAGENT_PREFIX])
    622
    7 AC_PREREQ(2.54)
    823dnl AM_CONFIG_HEADER(config.h)
    924AC_CONFIG_SRCDIR(libtransmission/transmission.h)
    1025AM_INIT_AUTOMAKE([1.9 tar-ustar])
    1126AC_PROG_LIBTOOL
     27
     28if test "x$TR_VERSION_SUFFIX" = "x+"; then
     29  AC_DEFINE(TR_UNSTABLE, 1,
     30            [Define to 1 if this is an unstable version of Transmission])
     31  TR_UNSTABLE=yes
     32fi
     33AM_CONDITIONAL(TR_UNSTABLE, test "x$TR_UNSTABLE" = "xyes")
    1234
    1335OPENSSL_MINIMUM=0.9.4
     
    3153AC_PROG_CXX
    3254if test "x$GCC" = "xyes" ; then
    33     CFLAGS="-g -Wall -W -O3 -funroll-loops"
     55    CFLAGS="-g -Wall -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops"
    3456    CXXFLAGS="-g -Wall -W -O3 -funroll-loops"
    3557fi
     58
    3659AC_HEADER_STDC
    3760AC_HEADER_TIME
Note: See TracChangeset for help on using the changeset viewer.