Skip to content

Commit

Permalink
create executable name as ccache-swig instead of ccache to avoid conf…
Browse files Browse the repository at this point in the history
…lict with the official ccache

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
  • Loading branch information
wsfulton committed Nov 5, 2008
1 parent 8ce8820 commit e497a96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CCache/ccache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion CCache/ccache.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define STATUS_FATAL 4
#define STATUS_NOCACHE 5

#define MYNAME "ccache"
#define MYNAME "ccache-swig"

#define LIMIT_MULTIPLE 0.8

Expand Down

0 comments on commit e497a96

Please sign in to comment.