From dff513fa2412bbd0b3e5d836419552ab2d2abab9 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 20 Jul 2000 20:03:07 +0000 Subject: [PATCH] (GUILE::parse_args): Recognize "-with-smobs" again, but don't do any side effects. This will go away again later, permananently. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@585 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules1.1/guile.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SWIG/Source/Modules1.1/guile.cxx b/SWIG/Source/Modules1.1/guile.cxx index 0017a146f..8c3331fa4 100644 --- a/SWIG/Source/Modules1.1/guile.cxx +++ b/SWIG/Source/Modules1.1/guile.cxx @@ -82,6 +82,12 @@ GUILE::parse_args (int argc, char *argv[]) fputs (guile_usage, stderr); SWIG_exit (0); } + // Silent recognition (no side effects) of "-with-smobs" is here + // as a convenience to users. This will be removed after 1.3a4 + // release. --ttn, 2000/07/20 13:01:07. + else if (strcmp (argv[i], "-with-smobs") == 0) { + Swig_mark_arg (i); + } else if (strcmp (argv[i], "-prefix") == 0) { if (argv[i + 1]) { prefix = new char[strlen (argv[i + 1]) + 2];