/[svn]/liblscp/trunk/configure.ac
ViewVC logotype

Diff of /liblscp/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3674 by capela, Thu Dec 26 14:46:00 2019 UTC revision 3825 by capela, Sat Sep 26 18:49:20 2020 UTC
# Line 1  Line 1 
1  # Process this file with autoconf to produce a configure script.  # Process this file with autoconf to produce a configure script.
2  AC_INIT(src/client.c)  AC_INIT(liblscp, 0.6.2, rncbc@rncbc.org, liblscp)
3    
4    AC_CONFIG_SRCDIR(src/client.c)
5  AC_CONFIG_HEADERS([src/config.h])  AC_CONFIG_HEADERS([src/config.h])
6  AC_CONFIG_MACRO_DIR([.m4])  AC_CONFIG_MACRO_DIRS([.m4])
7    
8  AM_INIT_AUTOMAKE(liblscp, 0.6.2)  AM_INIT_AUTOMAKE
9    
10  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
11  # Rules for library version information:  # Rules for library version information:
# Line 21  AM_INIT_AUTOMAKE(liblscp, 0.6.2) Line 23  AM_INIT_AUTOMAKE(liblscp, 0.6.2)
23  #  6. If any interfaces have been removed since the last public release, then set age  #  6. If any interfaces have been removed since the last public release, then set age
24  #     to 0.  #     to 0.
25    
26  SHARED_VERSION_INFO="6:1:1"  SHARED_VERSION_INFO="6:2:0"
27    
28  AC_SUBST(SHARED_VERSION_INFO)  AC_SUBST(SHARED_VERSION_INFO)
29    
# Line 29  AC_SUBST(SHARED_VERSION_INFO) Line 31  AC_SUBST(SHARED_VERSION_INFO)
31  AC_CACHE_VAL([ac_cv_build_version], [  AC_CACHE_VAL([ac_cv_build_version], [
32     ac_cv_build_version=$(git describe --tags --dirty --abbrev=6 2>/dev/null)     ac_cv_build_version=$(git describe --tags --dirty --abbrev=6 2>/dev/null)
33     if test -n "$ac_cv_build_version"; then     if test -n "$ac_cv_build_version"; then
34        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^[[^_]]*[[_v]]//i')        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^[[^0-9]]\+//')
35        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/-g/git./')        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/-g/git./')
36        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/[[_|-]]\+/./g')        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/[[_|-]]\+/./g')
37        ac_cv_build_version_extra=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)        ac_cv_build_version_extra=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)

Legend:
Removed from v.3674  
changed lines
  Added in v.3825

  ViewVC Help
Powered by ViewVC