summaryrefslogtreecommitdiff
path: root/guile.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-10-29 07:05:21 +0000
committerPaul Smith <psmith@gnu.org>2012-10-29 07:05:21 +0000
commit7670c84f7732db29f5a9d9c145c2327f4b575f91 (patch)
tree1fafd8949c867b89444ef57c6d068e7b8fb1a70e /guile.c
parent2efd6b47bf59c3202ccc6218b42ba360136d3789 (diff)
downloadgunmake-7670c84f7732db29f5a9d9c145c2327f4b575f91.tar.gz
Implement new "load" directive.
Provides support for dynamically loadable objects in GNU make, as a "technology preview".
Diffstat (limited to 'guile.c')
-rw-r--r--guile.c7
1 files changed, 3 insertions, 4 deletions
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;
}