along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE init ;
+DEFINITION MODULE FOR "C" init ;
FROM SYSTEM IMPORT ADDRESS ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2block ;
+DEFINITION MODULE FOR "C" m2block ;
FROM m2tree IMPORT Tree ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2builtins ;
+DEFINITION MODULE FOR "C" m2builtins ;
FROM SYSTEM IMPORT ADDRESS ;
FROM m2tree IMPORT Tree ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2convert ;
+DEFINITION MODULE FOR "C" m2convert ;
FROM m2tree IMPORT Tree ;
FROM m2linemap IMPORT location_t ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2except ;
+DEFINITION MODULE FOR "C" m2except ;
FROM m2tree IMPORT Tree ;
FROM m2linemap IMPORT location_t ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2misc ;
+DEFINITION MODULE FOR "C" m2misc ;
FROM m2tree IMPORT Tree ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2statement ;
+DEFINITION MODULE FOR "C" m2statement ;
FROM SYSTEM IMPORT ADDRESS ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2top ;
+DEFINITION MODULE FOR "C" m2top ;
(*
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2tree ;
+DEFINITION MODULE FOR "C" m2tree ;
FROM SYSTEM IMPORT ADDRESS ;
along with GNU Modula-2; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. *)
-DEFINITION MODULE m2type ;
+DEFINITION MODULE FOR "C" m2type ;
FROM SYSTEM IMPORT ADDRESS ;
FROM m2tree IMPORT Tree ;
/* The number of libraries added in. */
int added_libraries;
+#ifdef ENABLE_PLUGIN
/* True if we should add -fplugin=m2rte to the command-line. */
bool need_plugin = true;
+#else
+ bool need_plugin = false;
+#endif
/* True if we should set up include paths and library paths. */
bool allow_libraries = true;
break;
case OPT_fm2_plugin:
need_plugin = decoded_options[i].value;
+#ifndef ENABLE_PLUGIN
+ if (need_plugin)
+ error ("plugin support is disabled; configure with "
+ "%<--enable-plugin%>");
+#endif
break;
case OPT_fscaffold_dynamic:
seen_scaffold_dynamic = true;