summaryrefslogtreecommitdiff
path: root/libguile/init.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1997-04-19 13:25:21 +0000
committerJim Blandy <jimb@red-bean.com>1997-04-19 13:25:21 +0000
commit0487b82f9fcee628c2482e14df38e5a7ff71149c (patch)
tree4f9fb545632d25387a47fcbbdffd46d071c7340a /libguile/init.c
parent5ac58d89abcc7b6c00be2280de5bcceca8f7a00a (diff)
downloadguile-0487b82f9fcee628c2482e14df38e5a7ff71149c.tar.gz
Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated. (I mean, generated mechanically, not self-generated. Hmm.)) * guile.c, script.c, script.h: New source files. * init.c (scm_boot_guile_1): Call scm_init_script. * libguile.h: #include "script.h". * Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New targets, for new executable. (libguile_la_SOURCES): Mention script.c. (modinclude_HEADERS): Add script.h. * configure.in: Always check for -lm, -lsocket, -lnsl, whether or not dynamic linking is enabled. This is because we're generating executables now. Move CY_AC_WITH_THREADS call after those, so the values of cy_cv_threads_libs captures the libs chosen above. * Makefile.in, configure, aclocal.m4: Regenerated.
Diffstat (limited to 'libguile/init.c')
-rw-r--r--libguile/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/init.c b/libguile/init.c
index edb480a26..dc4c9b67a 100644
--- a/libguile/init.c
+++ b/libguile/init.c
@@ -441,6 +441,7 @@ scm_boot_guile_1 (base, closure)
scm_init_load_path ();
scm_init_standard_ports ();
scm_init_dynamic_linking ();
+ scm_init_script ();
initialized = 1;
}