]> git.alsa-project.org Git - alsa-utils.git/commitdiff
speaker-test: Fix version reporting.
authorJames Courtier-Dutton <James@superbug.co.uk>
Thu, 22 Dec 2005 13:35:42 +0000 (13:35 +0000)
committerJames Courtier-Dutton <James@superbug.co.uk>
Thu, 22 Dec 2005 13:35:42 +0000 (13:35 +0000)
speaker-test/Makefile.am
speaker-test/speaker-test.c

index 2ee40ff352ada18a724a64ad7d8830c73427359d..b24b4ae8bbd20552f6b45d94641a09356c6a007e 100644 (file)
@@ -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)
 
index 3d4afe98f72c685f08289d40fc403f52b0f4c18c..623558a3eefead560b6f762ee6af85423c14255d 100644 (file)
@@ -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;