]> git.draconx.ca Git - liblbx.git/commitdiff
Add the tools.h that should have been included a while ago.
authorNick Bowler <draconx@gmail.com>
Mon, 7 Jan 2008 00:35:19 +0000 (19:35 -0500)
committerNick Bowler <draconx@gmail.com>
Mon, 7 Jan 2008 00:35:19 +0000 (19:35 -0500)
src/tools.h [new file with mode: 0644]

diff --git a/src/tools.h b/src/tools.h
new file mode 100644 (file)
index 0000000..2332c2c
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef TOOLS_H_
+#define TOOLS_H_
+
+#ifdef HAVE_CONFIG_H
+#      include "config.h"
+#endif
+
+#ifndef PACKAGE_VERSION
+#      define PACKAGE_VERSION "(unknown)"
+#endif
+
+#define VERSION_BOILERPLATE(name)\
+name " (2ooM liblbx) " PACKAGE_VERSION "\n"\
+"Copyright (C) 2006-2008 Nick Bowler.\n"\
+"This is free software: you are free to change and redistribute it under\n"\
+"the terms of the GNU General Public License, version 2 or later.\n"\
+"There is ABSOLUTELY NO WARRANTY, to the extent permitted by law."
+
+#endif