wmmisc: Use autoconf defines for version number and bugreport address.
This commit is contained in:
parent
80e3fdf32a
commit
3782edcfd3
|
@ -43,16 +43,13 @@ dockapp_show_help( const char* wm_name )
|
||||||
printf( "the system's fork count and load average.\n\n" );
|
printf( "the system's fork count and load average.\n\n" );
|
||||||
printf( " -h display this help and exit\n" );
|
printf( " -h display this help and exit\n" );
|
||||||
printf( " -v output version information and exit\n\n" );
|
printf( " -v output version information and exit\n\n" );
|
||||||
printf( "Report bugs to <" DOCKAPP_AUTHOR_EMAIL ">.\n" );
|
printf( "Report bugs to <" PACKAGE_BUGREPORT ">.\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
dockapp_show_version( void )
|
dockapp_show_version( void )
|
||||||
{
|
{
|
||||||
printf( "%s %d.%d\n",
|
printf( "%s\n", PACKAGE_STRING);
|
||||||
DOCKAPP_NAME,
|
|
||||||
DOCKAPP_MAJOR_VERSION,
|
|
||||||
DOCKAPP_MINOR_VERSION );
|
|
||||||
printf( "Written by %s <%s>\n\n", DOCKAPP_AUTHOR, DOCKAPP_AUTHOR_EMAIL );
|
printf( "Written by %s <%s>\n\n", DOCKAPP_AUTHOR, DOCKAPP_AUTHOR_EMAIL );
|
||||||
printf( "Copyright (C) 2003-2006 %s\n", DOCKAPP_AUTHOR );
|
printf( "Copyright (C) 2003-2006 %s\n", DOCKAPP_AUTHOR );
|
||||||
printf( "This is free software; see the source for copying conditions. There is NO\n" );
|
printf( "This is free software; see the source for copying conditions. There is NO\n" );
|
||||||
|
@ -91,7 +88,7 @@ dockapp_crash( int signal_received )
|
||||||
DOCKAPP_NAME );
|
DOCKAPP_NAME );
|
||||||
fprintf( stderr,
|
fprintf( stderr,
|
||||||
"such as gdb, and report the output to <%s>.\n",
|
"such as gdb, and report the output to <%s>.\n",
|
||||||
DOCKAPP_AUTHOR_EMAIL );
|
PACKAGE_BUGREPORT );
|
||||||
|
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,10 +26,6 @@
|
||||||
|
|
||||||
#define DOCKAPP_NAME "wmmisc"
|
#define DOCKAPP_NAME "wmmisc"
|
||||||
|
|
||||||
#define DOCKAPP_MAJOR_VERSION 1
|
|
||||||
#define DOCKAPP_MINOR_VERSION 1
|
|
||||||
#define DOCKAPP_VERSION "1.1"
|
|
||||||
|
|
||||||
static char wmmisc_mask_bits[64 * 64];
|
static char wmmisc_mask_bits[64 * 64];
|
||||||
static int wmmisc_mask_width = 64;
|
static int wmmisc_mask_width = 64;
|
||||||
static int wmmisc_mask_height = 64;
|
static int wmmisc_mask_height = 64;
|
||||||
|
|
Loading…
Reference in a new issue