From 726e538471268a603d6f78b56ef2edd9cfeb11b7 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sat, 15 Jul 2017 23:54:48 -0400 Subject: [PATCH] wmbutton: Use version number from autoconf. --- wmbutton/wmb_libs.c | 2 +- wmbutton/wmbutton.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/wmbutton/wmb_libs.c b/wmbutton/wmb_libs.c index e778743..edfbd26 100644 --- a/wmbutton/wmb_libs.c +++ b/wmbutton/wmb_libs.c @@ -108,7 +108,7 @@ void show_usage(void) fprintf(stderr, "usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\ "[-F ] [-v] [-s] [-n]\n",app_name); fprintf(stderr, "\n"); - fprintf(stderr, " wmbutton version %s\n", VER_STR); + fprintf(stderr, " wmbutton version %s\n", PACKAGE_VERSION); fprintf(stderr, "\n"); fprintf(stderr, "-g Window Geometry - ie: 64x64+10+10\n"); fprintf(stderr, "-d Display - ie: 127.0.0.1:0.0\n"); diff --git a/wmbutton/wmbutton.h b/wmbutton/wmbutton.h index 4cd3a68..b0627d7 100644 --- a/wmbutton/wmbutton.h +++ b/wmbutton/wmbutton.h @@ -19,9 +19,6 @@ #define CONFIGGLOBAL "/etc/wmbutton.conf" /* system configuration */ #define BUTTONFILENAME "/.wmbutton.xpm" -/****** Version Number *************************************************/ -#define VER_STR "0.7.0" /* Version Number String */ - /****** Define Error Codes *********************************************/ #define FAILDISP 20 #define FAILSWIN 21