Move most of the guts of shell command processing into libguile,
authorJim Blandy <jimb@red-bean.com>
Sat, 19 Apr 1997 13:25:03 +0000 (13:25 +0000)
committerJim Blandy <jimb@red-bean.com>
Sat, 19 Apr 1997 13:25:03 +0000 (13:25 +0000)
commit549436debe91d30b0599d576756543c78a804c3c
tree9d36607ac13bc79c5eed3d0656ed38e72f69ef0c
parentbb7153ed75c5e9788fd4595f1165249de385ff23
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.

* Makefile.am (EXTRA_DIST): Don't distribute gscm.c or gscm.h.
We don't maintain this interface any more, and it just confuses
people.

* alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.
libguile/Makefile.am