ref: d60673780ed02a3581e8d80f19970a58ddc50303
parent: 5685bd31a66966976e81c0d1a930bc5f1ed609be
author: Ralph Giles <[email protected]>
date: Tue Aug 21 06:49:43 EDT 2012
Propagate OPUS_VERSION to config.h. I'm not sure how this worked before, the the previous version string fiddling commit ended up not defining OPUS_VERSION in the autoconf build, so opus_get_version_string() returned 'unknown'.
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,8 @@
# For config.h.
AC_SUBST(OPUS_VERSION)
+AC_DEFINE_UNQUOTED([OPUS_VERSION], ["$OPUS_VERSION"],
+ [Opus library version string])
# For libtool.
dnl Please update these for releases.