Skip to content

Commit ecc3427

Browse files
authored
Merge pull request libmapper#115 from EggAllocationService/issue-114
make configure.ac work if there's no tags
2 parents 9283e3a + af2cd09 commit ecc3427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ AC_PREREQ(2.61)
22

33
m4_define([LIBMAPPER_VERSION],[2.5.2])
44
AC_INIT([libmapper],
5-
m4_esyscmd_s([test -d .git/refs/tags && (git describe --tags | sed 's/\([^\-]*\)-\([^\-]*\)-\([^\-]*\)/\1.\2+\3/g') || echo LIBMAPPER_VERSION]),
5+
m4_esyscmd_s([(if git describe --tags > /dev/null; then (git describe --tags | sed 's/\([^\-]*\)-\([^\-]*\)-\([^\-]*\)/\1.\2+\3/g') else echo LIBMAPPER_VERSION; fi)]),
66
[dot_mapper@googlegroups.com],[],[http://libmapper.org])
77

88
# libtool version: current:revision:age

0 commit comments

Comments
 (0)