Fix mac OSX support for echo -n.
* configure.ac: here.
This commit is contained in:
parent
c26457b02b
commit
b8bc619ddf
1 changed files with 2 additions and 2 deletions
|
|
@ -171,8 +171,8 @@ AC_CHECK_PROGS([SWIG], [swig3.0 swig], [swig])
|
||||||
AC_SUBST([CROSS_COMPILING], [$cross_compiling])
|
AC_SUBST([CROSS_COMPILING], [$cross_compiling])
|
||||||
|
|
||||||
AC_SUBST([GITPATCH], [$(if (git rev-parse) >/dev/null 2>&1; then
|
AC_SUBST([GITPATCH], [$(if (git rev-parse) >/dev/null 2>&1; then
|
||||||
echo -n .
|
echo ".$(git rev-list $(git rev-list --tags --no-walk --max-count=1)..HEAD \
|
||||||
git rev-list $(git rev-list --tags --no-walk --max-count=1)..HEAD --count
|
--count)"
|
||||||
fi)])
|
fi)])
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue