1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00
Commit graph

15149 commits

Author SHA1 Message Date
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
Jim Blandy
d183c1b98e * putenv.c: #include "libguile/scmconfig.h", not <config.h>. 1997-04-10 20:10:17 +00:00
Jim Blandy
82cda9b375 *** empty log message *** 1997-04-10 01:24:31 +00:00
Jim Blandy
5f58a61b08 *** empty log message *** 1997-04-10 01:18:46 +00:00
Jim Blandy
9e8cb3dd6e * acconfig.h: Added entry for PACKAGE.
* scmconfig.h.in: Regenerated.
1997-04-10 01:16:17 +00:00
Jim Blandy
7ec57e82da Rebuild using newly patched automake... argh. 1997-04-10 01:14:47 +00:00
Jim Blandy
1dc9c5b075 Rebuilt using automake 1.1n. 1997-04-10 00:29:09 +00:00
Jim Blandy
58bc1a290d *** empty log message *** 1997-04-09 23:07:31 +00:00
Jim Blandy
e13d8dc0e0 Changes to work with automake-1.1n, which has better libtool support.
* Makefile.am: Use lib_LTLIBRARIES instead of lib_PROGRAMS.
Use libguile_la_LIBADD instead of libguile_la_LDADD.  (What's the
difference here?)
(libguile_la_SOURCES, modinclude_HEADERS, EXTRA_DIST): Format for
readability.
* Makefile.in: Rebuild.
1997-04-09 23:03:13 +00:00
Jim Blandy
363c8a613e *** empty log message *** 1997-04-09 23:01:00 +00:00
Jim Blandy
d064b4d837 *** empty log message *** 1997-04-09 23:00:48 +00:00
Jim Blandy
068bba9862 *** empty log message *** 1997-04-09 23:00:18 +00:00
Jim Blandy
4c8980a286 Changes to work with automake-1.1n, which has better libtool
support.  Also use libtool 0.8.
* README: Note new version numbers for automake and libtool.
* missing: New file required by new automake.
* Makefile.in: Regenerated.
1997-04-09 22:53:30 +00:00
Gary Houston
9a81afcaed fix a typo 1997-04-06 00:19:06 +00:00
Gary Houston
1bf9865d26 * stime.c (scm_init_stime): don't define ticks/sec.
(scm_gettimeofday): renamed from scm_time_plus_ticks (avoids multiple
return value problem and is still portable.)
1997-04-06 00:00:10 +00:00
Jim Blandy
5c09c7ea2d *** empty log message *** 1997-04-05 23:38:52 +00:00
Jim Blandy
a0e90145a3 * cpp_err_symbols.in: Renamed from cpp_err_symbols, to avoid
make's implicit cpp_err_symbols: cpp_err_symbols.c rule.
* cpp_sig_symbols.in: Renamed from cpp_sig_symbols.
* Makefile.am (check_errnos, check_signals, cpp_sig_symbols.c,
cpp_err_symbols.c): Corresponding changes.
* Makefile.in: Regenerated.
1997-04-05 23:35:03 +00:00
Gary Houston
708bf0f343 * expect.scm (expect-select): correct the millisecond timeout
arithmetic (from Marko.Kohtala@ntc.nokia.com).
	* boot-9.scm (open-input-pipe, open-output-pipe): defined here
	instead of in libguile.
	(tm:sec etc.) new accessors for broken-down time.
	(set-tm:sec etc.) new setters for broken-down time.
1997-04-05 21:58:35 +00:00
Jim Blandy
2c73448330 *** empty log message *** 1997-04-05 21:53:51 +00:00
Jim Blandy
2f38f6196b * Makefile.am: Omit doc subtree.
* configure.in: Omit makefiles in doc subtree.
* Makefile.in, configure, doc/Makefile.in,
doc/guile-programmer/Makefile.in, doc/guile-user/Makefile.in,
newdoc/Makefile.in, newdoc/tutorial/Makefile.in: Rebuilt.
1997-04-05 21:51:21 +00:00
Gary Houston
19468effd0 * posix.c (scm_putenv): don't check HAVE_PUTENV.
* Makefile.am (EXTRA_libguile_la_SOURCES): add putenv.c.
* configure.in: move putenv from AC_CHECK_FUNCS to AC_REPLACE_FUNCS.
* putenv.c: new file, from sh-utils 1.12.

* posix.c (scm_environ): use malloc in place of scm_must_malloc
since allocation isn't for Scheme objects.
(scm_putenv): copy strings before placing in the environment.

* stime.c (scm_current_time): throw an error if time returns -1,
instead of returning #f.
(scm_get_internal_real_time, scm_get_internal_real_time): use
scm_long2num for return value instead of SCM_MAKINUM.

* stime.h: prototypes updated.

* stime.c (scm_time_in_msec): apparently unused, deleted.

	* configure.in: check for gettimeofday.

	* stime.c (scm_time_plus_ticks): new procedure, an scsh interface
	which may be more usefully portable than a gettimeofday interface.

	* stime.c (filltime): recovered static procedure.
	(scm_localtime, scm_gmtime, scm_mktime, scm_tzset): recovered from
	an earlier Guile.

	* posix.h: add prototype for scm_close_pipe, remove prototypes for
	scm_open_input_pipe, scm_open_output_pipe, change scm_mknod prototype.

*	* posix.c (scm_mknod): split the mode argument into type and perms
	arguments, like the extra fields returned by stat.

	* fports.c (scm_pipob): set the close, free and print procedures.
	(scm_close_pipe): new procedure.

	* posix.c (scm_open_input_pipe, scm_open_output_pipe): deleted,
	define them in boot-9.scm
1997-04-05 21:50:31 +00:00
Jim Blandy
ec8c8a5433 * Makefile.am (EXTRA_DIST): It's cpp_err_symbols, not
cpp_err_signals.
* Makefile.in: Regenerated.
1997-04-02 22:13:11 +00:00