mirror of
https://github.com/xiph/opus.git
synced 2025-06-07 07:50:51 +00:00
Use m4_esyscmd instead of m4_esyscmd_s
We shouldn't ever have any trailing newlines that need trimming here, and the _s version wasn't added to m4sugar.m4 until autoconf 2.63b, so this will let it work with 2.13 again.
This commit is contained in:
parent
efdd314305
commit
918acd1564
1 changed files with 6 additions and 6 deletions
12
configure.ac
12
configure.ac
|
@ -4,12 +4,12 @@ dnl The package_version file will be automatically synced to the git revision
|
||||||
dnl by the update_version script when configured in the repository, but will
|
dnl by the update_version script when configured in the repository, but will
|
||||||
dnl remain constant in tarball releases unless it is manually edited.
|
dnl remain constant in tarball releases unless it is manually edited.
|
||||||
m4_define([CURRENT_VERSION],
|
m4_define([CURRENT_VERSION],
|
||||||
m4_esyscmd_s([ if test -e package_version || ./update_version; then
|
m4_esyscmd([ if test -e package_version || ./update_version; then
|
||||||
. ./package_version
|
. ./package_version
|
||||||
printf "$PACKAGE_VERSION"
|
printf "$PACKAGE_VERSION"
|
||||||
else
|
else
|
||||||
printf "unknown"
|
printf "unknown"
|
||||||
fi ]))
|
fi ]))
|
||||||
|
|
||||||
AC_INIT([opus],[CURRENT_VERSION],[opus@xiph.org])
|
AC_INIT([opus],[CURRENT_VERSION],[opus@xiph.org])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue