From bd9e48e922573ab8ccd638723af310b732c2312f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 10 Jul 2004 16:42:54 +0000 Subject: [PATCH] -ldflags option removed for removed prebuilt runtime library git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6025 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/chicken.cxx | 5 ----- Source/Modules/guile.cxx | 5 ----- Source/Modules/mzscheme.cxx | 4 ---- Source/Modules/perl5.cxx | 4 ---- Source/Modules/php4.cxx | 4 ---- Source/Modules/pike.cxx | 5 +---- Source/Modules/python.cxx | 4 ---- Source/Modules/ruby.cxx | 4 ---- Source/Modules/tcl8.cxx | 4 ---- 9 files changed, 1 insertion(+), 38 deletions(-) diff --git a/Source/Modules/chicken.cxx b/Source/Modules/chicken.cxx index f169c9990..3b0ff2dd7 100644 --- a/Source/Modules/chicken.cxx +++ b/Source/Modules/chicken.cxx @@ -35,7 +35,6 @@ CHICKEN Options (available with -chicken)\n\ dash seperated, lower case (ex. a-method-name)\n\ -noclos - Don't generate clos TinyCLOS code\n\ -nogeneric - Don't generate (make-generic) definitions\n\ - -ldflags - Print runtime libraries to link with\n\ \n" ; @@ -176,10 +175,6 @@ CHICKEN::main(int argc, char *argv[]) generic = 0; Swig_mark_arg(i); } - else if (strcmp(argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_CHICKEN_RUNTIME); - SWIG_exit(EXIT_SUCCESS); - } } } diff --git a/Source/Modules/guile.cxx b/Source/Modules/guile.cxx index b71283949..7ccb0e4ff 100644 --- a/Source/Modules/guile.cxx +++ b/Source/Modules/guile.cxx @@ -35,7 +35,6 @@ char cvsroot_guile_cxx[] = "$Header$"; // Note string broken in half for compilers that can't handle long strings static const char *guile_usage = (char*)"\ Guile Options (available with -guile)\n\ - -ldflags - Print runtime libraries to link with\n\ -prefix - Use as prefix [default \"gswig_\"]\n\ -package - Set the path of the module to \n\ (default NULL)\n\ @@ -169,10 +168,6 @@ public: Swig_arg_error(); } } - else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", use_scm_interface ? SWIG_GUILESCM_RUNTIME : SWIG_GUILE_RUNTIME); - SWIG_exit (EXIT_SUCCESS); - } else if (strcmp (argv[i], "-Linkage") == 0 || strcmp (argv[i], "-linkage") == 0) { if (argv[i + 1]) { diff --git a/Source/Modules/mzscheme.cxx b/Source/Modules/mzscheme.cxx index b61ed48a1..dc834932c 100644 --- a/Source/Modules/mzscheme.cxx +++ b/Source/Modules/mzscheme.cxx @@ -29,7 +29,6 @@ char cvsroot_mzscheme_cxx[] = "$Header$"; static const char *usage = (char*)"\ Mzscheme Options (available with -mzscheme)\n\ - -ldflags - Print runtime libraries to link with\n\ -prefix - Set a prefix to be prepended to all names\n\ -declaremodule - Create extension that declares a module\n\ -noinit - Do not emit scheme_initialize, scheme_reload,\n\ @@ -86,9 +85,6 @@ public: } else if (strcmp (argv[i], "-noinit") == 0) { noinit = true; Swig_mark_arg (i); - } else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_MZSCHEME_RUNTIME); - SWIG_exit (EXIT_SUCCESS); } } } diff --git a/Source/Modules/perl5.cxx b/Source/Modules/perl5.cxx index 33b132b58..5f599143b 100644 --- a/Source/Modules/perl5.cxx +++ b/Source/Modules/perl5.cxx @@ -19,7 +19,6 @@ char cvsroot_perl5_cxx[] = "$Header$"; static const char *usage = (char*)"\ Perl5 Options (available with -perl5)\n\ - -ldflags - Print runtime libraries to link with\n\ -static - Omit code related to dynamic loading\n\ -nopm - Do not generate the .pm file\n\ -proxy - Create proxy classes\n\ @@ -160,9 +159,6 @@ public: Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { fputs(usage,stderr); - } else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_PERL_RUNTIME); - SWIG_exit (EXIT_SUCCESS); } } } diff --git a/Source/Modules/php4.cxx b/Source/Modules/php4.cxx index d4fa408a7..d0be00ec8 100644 --- a/Source/Modules/php4.cxx +++ b/Source/Modules/php4.cxx @@ -22,7 +22,6 @@ char cvsroot_php4_cxx[] = "$Header$"; static const char *usage = (char*)"\ PHP4 Options (available with -php4)\n\ - -ldflags - Print runtime libraries to link with\n\ -cppext - cpp file extension (default to .cpp)\n\ -noproxy - Don't generate proxy classes.\n\ -dlname - Set module prefix to \n\ @@ -311,9 +310,6 @@ public: Swig_mark_arg(i); } else if(strcmp(argv[i], "-help") == 0) { fputs(usage, stderr); - } else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_PHP_RUNTIME); - SWIG_exit (EXIT_SUCCESS); } } } diff --git a/Source/Modules/pike.cxx b/Source/Modules/pike.cxx index be0573b6c..41a26ddb7 100644 --- a/Source/Modules/pike.cxx +++ b/Source/Modules/pike.cxx @@ -26,7 +26,7 @@ char cvsroot_pike_cxx[] = "$Header$"; static const char *usage = (char *)"\ Pike Options (available with -pike)\n\ - -ldflags - Print runtime libraries to link with\n\ + [None]\n\ \n"; class PIKE : public Language { @@ -87,9 +87,6 @@ public: if (argv[i]) { if (strcmp(argv[i],"-help") == 0) { fputs(usage,stderr); - } else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_PIKE_RUNTIME); - SWIG_exit(EXIT_SUCCESS); } } } diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 07fb608ce..64c800be8 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -53,7 +53,6 @@ static String *real_classname; static const char *usage = (char *)"\ Python Options (available with -python)\n\ - -ldflags - Print runtime libraries to link with\n\ -globals - Set used to access C global variable [default: 'cvar']\n\ -interface - Set the lib name to \n\ -keyword - Use keyword arguments\n\ @@ -123,9 +122,6 @@ public: Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { fputs(usage,stderr); - } else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_PYTHON_RUNTIME); - SWIG_exit (EXIT_SUCCESS); } } } diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index e3c7ce6ad..34e8ae88d 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -119,7 +119,6 @@ char cvsroot_ruby_cxx[] = "$Header$"; static const char * usage = "\ Ruby Options (available with -ruby)\n\ - -ldflags - Print runtime libraries to link with\n\ -globalmodule - Wrap everything into the global module\n\ -minherit - Attempt to support multiple inheritance\n\ -feature - Set feature name to (used by `require')\n"; @@ -222,9 +221,6 @@ public: Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { Printf(stderr,"%s\n", usage); - } else if (strcmp (argv[i],"-ldflags") == 0) { - printf("%s\n", SWIG_RUBY_RUNTIME); - SWIG_exit (EXIT_SUCCESS); } } } diff --git a/Source/Modules/tcl8.cxx b/Source/Modules/tcl8.cxx index 25e8b3e3e..70349176b 100644 --- a/Source/Modules/tcl8.cxx +++ b/Source/Modules/tcl8.cxx @@ -27,7 +27,6 @@ char cvsroot_tcl8_cxx[] = "$Header$"; static const char *usage = (char*)"\ Tcl 8 Options (available with -tcl)\n\ -itcl - Enable ITcl support\n\ - -ldflags - Print runtime libraries to link with\n\ -nosafe - Leave out SafeInit module function.\n\ -prefix - Set a prefix to be prepended to all names\n\ -namespace - Build module into a Tcl 8 namespace\n\ @@ -115,9 +114,6 @@ public: Swig_mark_arg(i); } else if (strcmp(argv[i],"-help") == 0) { fputs(usage,stderr); - } else if (strcmp (argv[i], "-ldflags") == 0) { - printf("%s\n", SWIG_TCL_RUNTIME); - SWIG_exit (EXIT_SUCCESS); } } }