int filematch(char **argv, const char *name)
{
- int rc, i;
+ int i;
for (i = 0; argv[i]; i++) {
switch(fnmatch(argv[i], name, 0)) {
#ifndef TOOLS_H_
#define TOOLS_H_
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#ifndef PACKAGE_VERSION
-# define PACKAGE_VERSION "(unknown)"
-#endif
+#include <config.h>
#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."
+"Copyright (C) 2006-2010 Nick Bowler.\n"\
+"License GPLv3+: GNU GPL version 3 or later "\
+"<http:/""/gnu.org/licenses/gpl.html>\n"\
+"This is free software: you are free to change and redistribute it.\n"\
+"There is NO WARRANTY, to the extent permitted by law."
#endif