From e497a9653a99a1f466cdfb124ddf84544fd70a68 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 5 Nov 2008 16:57:21 +0000 Subject: [PATCH] create executable name as ccache-swig instead of ccache to avoid conflict with the official ccache git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10918 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CCache/ccache.c | 8 ++++---- CCache/ccache.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CCache/ccache.c b/CCache/ccache.c index b08c4cda18d..4b7c2944fce 100644 --- a/CCache/ccache.c +++ b/CCache/ccache.c @@ -1111,12 +1111,12 @@ static void ccache(int argc, char *argv[]) static void usage(void) { - printf("ccache, a compiler cache, with modifications for SWIG. Version %s\n", CCACHE_VERSION); + printf("%s, a compiler cache including support for SWIG. Version %s\n", MYNAME, CCACHE_VERSION); printf("Copyright Andrew Tridgell, 2002\n\n"); printf("Usage:\n"); - printf("\tccache [options]\n"); - printf("\tccache compiler [compile options]\n"); + printf("\t" MYNAME " [options]\n"); + printf("\t" MYNAME " compiler [compile options]\n"); printf("\tcompiler [compile options] (via symbolic link)\n"); printf("\nOptions:\n"); @@ -1146,7 +1146,7 @@ static int ccache_main(int argc, char *argv[]) while ((c = getopt(argc, argv, "hszcCF:M:V")) != -1) { switch (c) { case 'V': - printf("ccache with modifications for SWIG version %s\n", CCACHE_VERSION); + printf("%s version %s\n", MYNAME, CCACHE_VERSION); printf("Copyright Andrew Tridgell 2002\n"); printf("Released under the GNU GPL v2 or later\n"); exit(0); diff --git a/CCache/ccache.h b/CCache/ccache.h index 07d79f8b0cf..9da406a2e89 100644 --- a/CCache/ccache.h +++ b/CCache/ccache.h @@ -34,7 +34,7 @@ #define STATUS_FATAL 4 #define STATUS_NOCACHE 5 -#define MYNAME "ccache" +#define MYNAME "ccache-swig" #define LIMIT_MULTIPLE 0.8