From 7670c84f7732db29f5a9d9c145c2327f4b575f91 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 29 Oct 2012 07:05:21 +0000 Subject: Implement new "load" directive. Provides support for dynamically loadable objects in GNU make, as a "technology preview". --- guile.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'guile.c') diff --git a/guile.c b/guile.c index edba6d6..9c9d958 100644 --- a/guile.c +++ b/guile.c @@ -104,8 +104,10 @@ func_guile (char *o, char **argv, const char *funcname UNUSED) /* ----- Public interface ----- */ +/* We could send the flocp to define_new_function(), but since guile is + "kind of" built-in, that didn't seem so useful. */ int -setup_guile () +guile_gmake_setup (const struct floc *flocp UNUSED) { /* Initialize the Guile interpreter. */ scm_with_guile (guile_init, NULL); @@ -113,8 +115,5 @@ setup_guile () /* Create a make function "guile". */ define_new_function (NILF, "guile", 0, 1, 1, func_guile); - /* Add 'guile' to the list of features. */ - do_variable_definition (NILF, ".FEATURES", "guile", o_default, f_append, 0); - return 1; } -- cgit v1.2.3