We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9283e3a + af2cd09 commit ecc3427Copy full SHA for ecc3427
1 file changed
configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.61)
2
3
m4_define([LIBMAPPER_VERSION],[2.5.2])
4
AC_INIT([libmapper],
5
- m4_esyscmd_s([test -d .git/refs/tags && (git describe --tags | sed 's/\([^\-]*\)-\([^\-]*\)-\([^\-]*\)/\1.\2+\3/g') || echo LIBMAPPER_VERSION]),
+ m4_esyscmd_s([(if git describe --tags > /dev/null; then (git describe --tags | sed 's/\([^\-]*\)-\([^\-]*\)-\([^\-]*\)/\1.\2+\3/g') else echo LIBMAPPER_VERSION; fi)]),
6
[dot_mapper@googlegroups.com],[],[http://libmapper.org])
7
8
# libtool version: current:revision:age
0 commit comments