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
This commit is contained in:
William S Fulton 2008-11-05 16:57:21 +00:00
commit e497a9653a
2 changed files with 5 additions and 5 deletions

View file

@ -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);

View file

@ -34,7 +34,7 @@
#define STATUS_FATAL 4
#define STATUS_NOCACHE 5
#define MYNAME "ccache"
#define MYNAME "ccache-swig"
#define LIMIT_MULTIPLE 0.8