From: James Courtier-Dutton Date: Thu, 22 Dec 2005 13:35:42 +0000 (+0000) Subject: speaker-test: Fix version reporting. X-Git-Tag: v1.0.11rc4~10 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2975ef9e756cc1b0a32ba1cf45b228a6e31339d8;p=alsa-utils.git speaker-test: Fix version reporting. --- 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;