From 2975ef9e756cc1b0a32ba1cf45b228a6e31339d8 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Thu, 22 Dec 2005 13:35:42 +0000 Subject: [PATCH] speaker-test: Fix version reporting. --- speaker-test/Makefile.am | 3 +-- speaker-test/speaker-test.c | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/speaker-test/Makefile.am b/speaker-test/Makefile.am index 2ee40ff..b24b4ae 100644 --- a/speaker-test/Makefile.am +++ b/speaker-test/Makefile.am @@ -1,5 +1,4 @@ -SPEAKER_TEST_VERSION = 0.0.8 -INCLUDES = -I$(top_srcdir)/include -DSPEAKER_TEST_VERSION=\"$(SPEAKER_TEST_VERSION)\" +INCLUDES = -I$(top_srcdir)/include SUBDIRS= samples LDADD = $(LIBINTL) diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c index 3d4afe9..623558a 100644 --- a/speaker-test/speaker-test.c +++ b/speaker-test/speaker-test.c @@ -57,6 +57,7 @@ #include "pink.h" #include "aconfig.h" #include "gettext.h" +#include "version.h" enum { TEST_PINK_NOISE = 1, @@ -758,7 +759,7 @@ int main(int argc, char *argv[]) { morehelp = 0; - printf("\nspeaker-test %s\n\n", SPEAKER_TEST_VERSION); + printf("\nspeaker-test %s\n\n", SND_UTIL_VERSION_STR); while (1) { int c;