From d60673780ed02a3581e8d80f19970a58ddc50303 Mon Sep 17 00:00:00 2001
From: Ralph Giles <giles@thaumas.net>
Date: Tue, 21 Aug 2012 10:49:43 -0700
Subject: [PATCH] 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'.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index ce0451b42..5e21dce6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,8 @@ VERSION=$OPUS_VERSION
 
 # 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.
-- 
GitLab