Changeset 8549 for trunk/configure.ac


Ignore:
Timestamp:
May 28, 2009, 2:15:53 AM (13 years ago)
Author:
charles
Message:

(trunk) #2125: Get svn revision number with autoconf rather than make

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8433 r8549  
    66m4_define([user_agent_prefix],[1.61+])
    77m4_define([peer_id_prefix],[-TR161Z-])
     8m4_define([svn_revision], esyscmd([sh -c "svnversion | sed -r 's/([0-9]+).*/\1/'"]))
    89
    910AC_INIT([transmission],
     
    1213AC_SUBST(USERAGENT_PREFIX,[user_agent_prefix])
    1314AC_SUBST(PEERID_PREFIX,[peer_id_prefix])
     15AC_SUBST(SVN_REVISION,[svn_revision])
    1416
    1517AC_CONFIG_MACRO_DIR([m4])
     
    353355                 doc/Makefile
    354356                 libtransmission/Makefile
     357                 libtransmission/version.h
    355358                 third-party/Makefile
    356359                 third-party/miniupnp/Makefile
Note: See TracChangeset for help on using the changeset viewer.