From 6c63633545c254dc085402e0f927a6826d1dd229 Mon Sep 17 00:00:00 2001 From: Akinori Ito Date: Fri, 9 Nov 2001 04:59:17 +0000 Subject: Updates from 0.2.1 into 0.2.1-inu-1.5 --- gc/add_gc_prefix.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gc/add_gc_prefix.c') diff --git a/gc/add_gc_prefix.c b/gc/add_gc_prefix.c index 0d1ab6d..59515c7 100644 --- a/gc/add_gc_prefix.c +++ b/gc/add_gc_prefix.c @@ -1,4 +1,5 @@ # include +# include "version.h" int main(argc, argv, envp) int argc; @@ -8,7 +9,12 @@ char ** envp; int i; for (i = 1; i < argc; i++) { - printf("gc/%s ", argv[i]); + if (GC_ALPHA_VERSION == GC_NOT_ALPHA) { + printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]); + } else { + printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR, + GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]); + } } return(0); } -- cgit v1.2.3