1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00
Commit graph

6720 commits

Author SHA1 Message Date
Jim Blandy
224c49f96a 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.
1997-04-20 19:58:45 +00:00
Jim Blandy
dab94cac68 *** empty log message *** 1997-04-20 19:58:07 +00:00
Jim Blandy
10f64a24d2 *** empty log message *** 1997-04-20 18:27:14 +00:00
Jim Blandy
cd34a38431 * configure.in: check for presence of gethostent (not present on
OpenBSD by default).
* net_db.c (scm_gethost): Check HAVE_GETHOSTENT.
* configure, scmconfig.h.in: Regenerated.
1997-04-20 18:27:00 +00:00
Jim Blandy
045b4e0f9f *** empty log message *** 1997-04-19 13:25:36 +00:00
Jim Blandy
f973126498 * read.c (skip_scsh_block_comment): SCSH says the !# that ends a
#! block comment must occur on a line all by itself.
1997-04-19 13:25:28 +00:00
Jim Blandy
0487b82f9f 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.
1997-04-19 13:25:21 +00:00
Jim Blandy
5ac58d89ab * alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.
1997-04-19 13:25:09 +00:00
Jim Blandy
549436debe 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.
1997-04-19 13:25:03 +00:00
Jim Blandy
bb7153ed75 *** empty log message *** 1997-04-19 13:12:34 +00:00
Jim Blandy
ef00e7f466 * boot-9.scm (eval-string, command-line, load-user-init): New
functions.
1997-04-19 13:04:38 +00:00
Jim Blandy
f17e040497 *** empty log message *** 1997-04-16 22:53:05 +00:00
Jim Blandy
23f53cd3e2 * backtrace.c (scm_backtrace): Split message string across
newlines properly.  GCC is more tolerant of this than other
compilers.
1997-04-16 22:52:47 +00:00
Jim Blandy
6dad9cd3c6 *** empty log message *** 1997-04-16 22:45:50 +00:00
Jim Blandy
828b6b7280 *** empty log message *** 1997-04-15 22:53:46 +00:00
Jim Blandy
1ce36f0570 *** empty log message *** 1997-04-15 01:43:43 +00:00
Jim Blandy
7b586e6941 *** empty log message *** 1997-04-15 01:35:00 +00:00
Jim Blandy
7bfd3b9e94 Merge threads directory into libguile.
* coop-defs.h, coop-threads.c, coop-threads.h, coop.c, threads.c,
threads.h: New source files.
* Makefile.am (EXTRA_libguile_la_SOURCES): Add threads.c.
(noinst_HEADERS): Add coop-threads.c, coop-threads.h, coop.c
here; see comment.
(modinclude_HEADERS): Add threads.h, coop-defs.h.
(EXTRA_DIST): Add fsu-pthreads.h, mit-pthreads.c, mit-pthreads.h,
coop-threads.c.cygnus, coop-threads.h.cygnus.
* configure.in: If we're using threads, include threads.o in
LIBOBJS.
* _scm.h, libguile.h: threads.h lives in this directory now.
* fsu-pthreads.h, mit-pthreads.c, mit-pthreads.h,
coop-threads.c.cygnus, coop-threads.h.cygnus: New files, not
currently used, but brought along for information's sake.
* ChangeLog-threads: log from old 'threads' directory.
* Makefile.in, configure: Rebuilt.
1997-04-15 01:34:36 +00:00
Jim Blandy
c520b64ca6 * threads.m4 (CY_AC_WITH_THREADS): When using coop threads, no
need to link against libthreads; the files it used to contain
are now a part of libguile.
* aclocal.m4, configure: Rebuilt.
1997-04-15 01:33:09 +00:00
Jim Blandy
a912ed4a0f Add note saying where this came from, and suggesting that new log
entries should go in ChangeLog.
1997-04-15 01:26:20 +00:00
Jim Blandy
7c9c776088 *** empty log message *** 1997-04-15 01:24:05 +00:00
Jim Blandy
4469a27ac1 * threads.m4 (CY_AC_WITH_THREADS): When using coop threads, no
need to link against libthreads; the files it used to contain
are now a part of libguile.
* aclocal.m4, configure: Regenerated.
1997-04-15 01:22:22 +00:00
Jim Blandy
b110e21e8d * threads.m4 (CY_AC_WITH_THREADS): When using coop threads, no
need to link against libthreads; the files it used to contain
are now a part of libguile.
1997-04-15 01:20:46 +00:00
Jim Blandy
73f19016b9 * stime.c (scm_mktime): #ifndef HAVE_TM_ZONE, Use lt.tm_zone, not
lt->tm_zone.
1997-04-15 01:16:23 +00:00
Jim Blandy
3e7b8512ae *** empty log message *** 1997-04-14 21:20:04 +00:00
Jim Blandy
8b54b82bfb *** empty log message *** 1997-04-14 07:33:58 +00:00
Jim Blandy
ee2a8b9bdd * gh_init.c (gh_standard_handler): Return SCM_BOOL_F, not garbage.
Merge GH interface library into libguile.
* gh.h, gh_data.c, gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c,
gh_list.c, gh_predicates.c, gh_test_c, gh_test_c.c, gh_test_repl,
gh_test_repl.c: New files.
* Makefile.am (libguile_la_SOURCES): Add gh_data.c, gh_eval.c,
gh_funcs.c, gh_init.c, gh_io.c, gh_list.c, gh_predicates.c.  Move
_scm.h to ...
(EXTRA_libguile_la_SOURCES): ... here.
(pkginclude_HEADERS): Add variable, to get gh.h installed.
(THREAD_LIBS, check_ldadd, check_PROGRAMS, gh_test_c_SOURCES,
gh_test_c_LDADD, gh_test_repl_SOURCES, gh_test_repl_LDADD):
New variables, describing how to build the gh test programs.
* configure.in: Check for -lm, -lsocket, -lnsl; we need this to
build the test programs, and we probably should have been linking
libguile.la against them all along, to support AIX shared libs.
Add cflags for threads to CFLAGS; add libs for threads to new
variable THREAD_LIBS, used in Makefile.am.
* ChangeLog-gh: log from old `gh' subdirectory.
* Makefile.in, configure, scmconfig.h.in: Rebuilt.
1997-04-14 06:42:27 +00:00
Jim Blandy
f4d7dfb69d *** empty log message *** 1997-04-14 06:32:23 +00:00
Jim Blandy
2c4f2fd004 Merged info about GH authorship (just updated what was already here, really). 1997-04-14 06:32:04 +00:00
Jim Blandy
d76e9dd9a7 *** empty log message *** 1997-04-14 04:08:51 +00:00
Jim Blandy
a10714cbc5 * acconfig.h: Undo change of Apr 9; including the definition of
PACKAGE in the guile headers conflicts with applications' own
definitions.
* scmconfig.h.in: Regenerated.
1997-04-14 04:07:15 +00:00
Jim Blandy
0705ea15b9 * guile.m4: Revert change of Mar 15, and use the new 'no-define'
argument to the AM_INIT_AUTOMAKE macro.
* lots of aclocal.m4, configure files: Regenerated.
1997-04-14 04:06:25 +00:00
Jim Blandy
c8b62a7eb6 *** empty log message *** 1997-04-14 03:27:05 +00:00
Jim Blandy
40719d96c5 * guile.m4: Revert change of Mar 15, and use the new 'no-define'
argument to the AM_INIT_AUTOMAKE macro.
* lots of aclocal.m4, configure files: Regenerated.
1997-04-14 03:17:03 +00:00
Jim Blandy
7ecb9fc6ec * guile.m4: Revert change of Mar 15, and use the new 'no-define'
argument to the AM_INIT_AUTOMAKE macro.
1997-04-14 03:14:18 +00:00
Gary Houston
b9525b92bb * stime.c (scm_mktime): take an optional zone argument.
(scm_localtime): check putenv return value.
	(scm_strftime, scm_strptime): moved from posix.c.  move #include
	sequences.h too.
	stime.h, posix.h: update prototypes.
	(bdtime2c, setzone, restorezone): new static procedures.
	(scm_mktime, scm_strftime): use them.
	(scm_strftime): don't call mktime before strftime.  Use
	filltime for return value.
	(filltime): convert NULL zname to #f.
*	(scm_strptime): return a count of characters consumed, not
	the remaining string.

	* stime.c (scm_localtime): check HAVE_TM_ZONE and HAVE_TZNAME.
	(scm_mktime): likewise.
	Declare *tzname[].
	Uncomment localtime and mktime.

	* configure.in: add AC_STRUCT_TIMEZONE.
1997-04-12 20:18:12 +00:00
Gary Houston
6549522160 * boot-9.scm (log10): defined. 1997-04-12 19:47:09 +00:00
Jim Blandy
4c1feaa596 * filesys.c (scm_fcntl): New function from Roland McGrath.
(scm_init_filesys): New symbols for use with fcntl.
* filesys.h: Added prototype.
1997-04-12 01:17:15 +00:00
Jim Blandy
30000774de * eval.c (SCM_APPLY): Set debug apply frame argument list correctly
when PROC is receiving no arguments.
1997-04-12 01:16:49 +00:00
Jim Blandy
6956318c83 *** empty log message *** 1997-04-12 00:44:18 +00:00
Jim Blandy
e67dc2bebc * posix.c (scm_status_exit_val, scm_status_exit_val,
scm_status_term_sig, scm_status_stop_sig): Modified to work with
Ultrix versions of WIFSTOPPED, etc., which assume that their
arguments are lvalues (hmm).
1997-04-12 00:39:56 +00:00
Jim Blandy
d7b8a21a81 * filesys.c (S_ISSOCK): Define this if it's missing, but we do
have S_IFSOCK.  This is the case under Ultrix.
1997-04-12 00:39:44 +00:00
Jim Blandy
12afb6191f *** empty log message *** 1997-04-11 20:47:51 +00:00
Jim Blandy
f0e2ee9787 *** empty log message *** 1997-04-11 04:56:29 +00:00
Jim Blandy
4cdcd100f5 * ltconfig, ltmain.sh: Upgraded libtool files to 0.9d. It looks
like the 0.8 disty contains files that say "0.9" in the sources???
1997-04-11 04:56:13 +00:00
Jim Blandy
18eadcbefc * throw.c: Doc fixes; rearranged. 1997-04-11 03:54:56 +00:00
Jim Blandy
82a2622ab6 * eval.c: Doc fixes. 1997-04-11 03:54:28 +00:00
Jim Blandy
c505c88d41 *** empty log message *** 1997-04-10 22:02:58 +00:00
Jim Blandy
74229f75c0 Doc fixes; rearranged. 1997-04-10 22:02:45 +00:00
Jim Blandy
a19ab6d06f *** empty log message *** 1997-04-10 20:10:32 +00:00