show warning when VERSION is not defined

This commit is contained in:
Sascha Kruse 2013-02-20 08:07:10 +00:00
parent 71182f486c
commit c003e4c454
3 changed files with 6 additions and 7 deletions

View File

@ -1,8 +1,6 @@
-I /usr/X11R6/include -pthread
-I /usr/X11R6/lib
-I /usr/include/freetype2
-DXINERAMA
-DINI_ALLOW_MULTILINE=0
-I/usr/include/dbus-1.0 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/lib/dbus-1.0/include
-DVERSION=0 -I/usr/include/freetype2
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include

View File

@ -46,7 +46,7 @@
#define DEFFONT "Monospace-11" #define DEFFONT "Monospace-11"
#ifndef VERSION #ifndef VERSION
#define VERSION 0 #define VERSION "version info needed"
#endif #endif
#define MSG 1 #define MSG 1

View File

@ -374,3 +374,4 @@ void dbus_tear_down(int owner_id)
{ {
g_bus_unown_name(owner_id); g_bus_unown_name(owner_id);
} }
/* vim: set ts=8 sw=8 tw=0: */