shithub: opusfile

Download patch

ref: 8df43f7ca556f85a2ad9d431766c4b82501a35fb
parent: cd91ec6205d2f4467c78d1d6442eaff5ca200f2f
author: Ron <[email protected]>
date: Sat May 18 12:22:02 EDT 2013

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.

--- a/configure.ac
+++ b/configure.ac
@@ -4,12 +4,12 @@
 dnl by the update_version script when configured in the repository, but will
 dnl remain constant in tarball releases unless it is manually edited.
 m4_define([CURRENT_VERSION],
-          m4_esyscmd_s([ if test -e package_version || ./update_version; then
-                             . ./package_version
-                             printf "$PACKAGE_VERSION"
-                         else
-                             printf "unknown"
-                         fi ]))
+          m4_esyscmd([ if test -e package_version || ./update_version; then
+                           . ./package_version
+                           printf "$PACKAGE_VERSION"
+                       else
+                           printf "unknown"
+                       fi ]))
 
 AC_INIT([opusfile],[CURRENT_VERSION],[[email protected]])
 AC_CONFIG_SRCDIR([src/opusfile.c])