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

Diff of /qsampler/trunk/configure.ac

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

revision 3121 by capela, Fri Jan 13 16:35:41 2017 UTC revision 3122 by capela, Sat Apr 22 11:16:27 2017 UTC
# Line 9  AC_CONFIG_FILES(Makefile qsampler.spec s Line 9  AC_CONFIG_FILES(Makefile qsampler.spec s
9  AC_CACHE_VAL([ac_cv_build_version], [  AC_CACHE_VAL([ac_cv_build_version], [
10     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)
11     if test -n "$ac_cv_build_version"; then     if test -n "$ac_cv_build_version"; then
12        ac_cv_build_version=$(echo $ac_cv_build_version | sed -r 's/^[[^_]]+_//')        ac_cv_build_version=$(echo $ac_cv_build_version | sed -r 's/^[^_]*[_v]//i')
13        ac_cv_build_version=$(echo $ac_cv_build_version | sed -r 's/-g/git./')        ac_cv_build_version=$(echo $ac_cv_build_version | sed -r 's/-g/git./')
14        ac_cv_build_version=$(echo $ac_cv_build_version | sed -r 's/[[_|-]]+/./g')        ac_cv_build_version=$(echo $ac_cv_build_version | sed -r 's/[[_|-]]+/./g')
15          ac_cv_build_version_extra=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
16          if test "x$ac_cv_build_version_extra" != "xmaster"; then
17             ac_cv_build_version="$ac_cv_build_version [[$ac_cv_build_version_extra]]"
18          fi
19     else     else
20        ac_cv_build_version=$PACKAGE_VERSION        ac_cv_build_version=$PACKAGE_VERSION
21     fi     fi

Legend:
Removed from v.3121  
changed lines
  Added in v.3122

  ViewVC Help
Powered by ViewVC