[PATCH 1/3] wmifs: Display version number from configure.ac with -v option.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmifs/wmifs.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c
index 28e8f18..d50abe1 100644
--- a/wmifs/wmifs.c
+++ b/wmifs/wmifs.c
@@ -243,8 +243,6 @@
 #define LED_NET_TX			(5)
 #define LED_NET_POWER		(6)
 
-#define WMIFS_VERSION "1.6"
-
 /* the size of the buffer read from /proc/net/ */
 #define BUFFER_SIZE 512
 
@@ -1050,7 +1048,7 @@ void usage(void)
 void printversion(void)
 {
 
-	fprintf(stderr, "%s\n", WMIFS_VERSION);
+	fprintf(stderr, "%s\n", PACKAGE_STRING);
 }
 
 /*******************************************************************************\
-- 
2.5.0


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.