From: William F. <wsf...@us...> - 2006-03-07 22:01:24
|
Update of /cvsroot/swig/SWIG/Source/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2220/Source/Modules Modified Files: main.cxx Log Message: Move copyright notices from -version to -copyright and add in missing copyright notices that are in LICENSE Index: main.cxx =================================================================== RCS file: /cvsroot/swig/SWIG/Source/Modules/main.cxx,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** main.cxx 6 Mar 2006 22:50:57 -0000 1.86 --- main.cxx 7 Mar 2006 22:01:17 -0000 1.87 *************** *** 51,54 **** --- 51,55 ---- -copyctor - Automatically generate copy constructors wherever possible\n\ -cpperraswarn - Treat the preprocessor #error statement as #warning (default)\n\ + -copyright - Display copyright notices\n\ -debug_template - Display information for debugging templates\n\ -debug_typemap - Display information for debugging typemaps\n\ *************** *** 570,579 **** } else if (strcmp(argv[i],"-version") == 0) { fprintf(stdout,"\nSWIG Version %s\n", swig_package_version()); fprintf(stdout,"Copyright (c) 1995-1998\n"); fprintf(stdout,"University of Utah and the Regents of the University of California\n"); fprintf(stdout,"Copyright (c) 1998-2005\n"); fprintf(stdout,"University of Chicago\n"); ! fprintf(stdout,"Compiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM); ! fprintf(stdout,"\nPlease see %s for reporting bugs and further information\n", PACKAGE_BUGREPORT); SWIG_exit (EXIT_SUCCESS); } else if (strncmp(argv[i],"-l",2) == 0) { --- 571,585 ---- } else if (strcmp(argv[i],"-version") == 0) { fprintf(stdout,"\nSWIG Version %s\n", swig_package_version()); + fprintf(stdout,"\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM); + fprintf(stdout,"Please see %s for reporting bugs and further information\n", PACKAGE_BUGREPORT); + SWIG_exit (EXIT_SUCCESS); + } else if (strcmp(argv[i],"-copyright") == 0) { + fprintf(stdout,"\nSWIG Version %s\n", swig_package_version()); fprintf(stdout,"Copyright (c) 1995-1998\n"); fprintf(stdout,"University of Utah and the Regents of the University of California\n"); fprintf(stdout,"Copyright (c) 1998-2005\n"); fprintf(stdout,"University of Chicago\n"); ! fprintf(stdout,"Copyright (c) 2005-2006\n"); ! fprintf(stdout,"Arizona Board of Regents (University of Arizona)\n"); SWIG_exit (EXIT_SUCCESS); } else if (strncmp(argv[i],"-l",2) == 0) { |