aboutsummaryrefslogtreecommitdiffstats
path: root/xcompmgr.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2009-11-08 11:28:40 +0100
committerMatthieu Herrb <matthieu.herrb@laas.fr>2009-11-21 17:18:12 +0000
commitc593ba4502b83ac021ee930b491e15994f5eece5 (patch)
tree09bef7ae2513c0dd2a5b1155b75f24ae25ff77d8 /xcompmgr.c
parentxcompmgr 1.1.5 (diff)
downloadxcman-c593ba4502b83ac021ee930b491e15994f5eece5.tar.gz
xcman-c593ba4502b83ac021ee930b491e15994f5eece5.tar.bz2
xcman-c593ba4502b83ac021ee930b491e15994f5eece5.tar.xz
don't hard-code package version in C source.
While there, get rid of RCS Id. Reviewed-by: Remi Cardona <remi@gentoo.org>
Diffstat (limited to 'xcompmgr.c')
-rw-r--r--xcompmgr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xcompmgr.c b/xcompmgr.c
index 9d4072c..3a01cce 100644
--- a/xcompmgr.c
+++ b/xcompmgr.c
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* Copyright © 2003 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@ -27,6 +25,9 @@
says above. Not that I can really do anything about it
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdlib.h>
#include <stdio.h>
@@ -1854,7 +1855,7 @@ ev_window (XEvent *ev)
static void
usage (char *program)
{
- fprintf (stderr, "%s v1.1.4\n", program);
+ fprintf (stderr, "%s v%s\n", program, PACKAGE_VERSION);
fprintf (stderr, "usage: %s [options]\n", program);
fprintf (stderr, "Options\n");
fprintf (stderr, " -d display\n Specifies which display should be managed.\n");