1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
Commit graph

9538 commits

Author SHA1 Message Date
Mikael Djurfeldt
f0e9217a51 * * debug.c: New file: low-level debugging support. It also
includes support for debugging with gdb.  (The extensions to gdb
	are written by Per Bothner at Cygnus.)
1996-08-20 17:08:46 +00:00
Mikael Djurfeldt
f08df670d0 * continuations.c (scm_make_cont): Enlarged the #if 0 around
scm_relocate_chunk_to_heap.
1996-08-20 17:08:37 +00:00
Mikael Djurfeldt
074657b024 * * configure.in: Added user option for debugging support.
--enable-debug will include the debugging code into libguile.a.
1996-08-20 17:08:21 +00:00
Mikael Djurfeldt
f7438558ce * acconfig.h: Added symbols for debugging support. 1996-08-20 17:07:39 +00:00
Mikael Djurfeldt
1a413ab902 * * options.c: New file: handling of run time options.
* options.h: New file: handling of run time options.
1996-08-20 17:06:04 +00:00
Mikael Djurfeldt
627ecda7ca * __scm.h: Removed symbols for debugging support. 1996-08-20 17:05:27 +00:00
Mikael Djurfeldt
1b02bb8e48 * Makefile.in: Added {debug,options,srcprop}.{h,c} 1996-08-20 16:58:22 +00:00
Mikael Djurfeldt
0190d6835a *** empty log message *** 1996-08-20 16:57:13 +00:00
Jim Blandy
253efac34e *** empty log message *** 1996-08-15 07:25:53 +00:00
Jim Blandy
e94f0b3ca5 * libguile.h: #include "objprop.h"; I guess this was forgotten.
* libguile.h: #include "__scm.h" before testing the STDC_HEADERS
preprocessor symbol; "__scm.h" is where it might get #defined.
* __scm.h: Similar: #include <scmconfig.h> before testing
HAVE_LIMITS_H.
1996-08-15 07:22:51 +00:00
Jim Blandy
acc909e634 * init.c (scm_boot_guile): Add init_func argument; call
(*init_func) instead of calling scm_appinit; it's ucky to
hard-code names for the user's procedures.
* init.h (scm_boot_guile): Adjust declaration.

* init.h (scm_start_stack, scm_restart_stack): Use PROTO;
eliminate all the __STDC__ conditionals.
(scm_boot_guile): Add declaration.
* init.c (scm_start_stack, scm_restart_stack, scm_boot_guile):
Remove __STDC__ conditionals around function definitions; the
declarations in init.h will provide the same information, more
usefully.
1996-08-15 07:22:05 +00:00
Jim Blandy
47b44240b9 * init.c (scm_boot_guile): Don't call scm_init_rgx; it's a plugin,
and should be called by the final client.

* init.h (scm_start_stack, scm_restart_stack): Use PROTO;
eliminate all the __STDC__ conditionals.
(scm_boot_guile): Add declaration.
* init.c (scm_start_stack, scm_restart_stack, scm_boot_guile):
Remove __STDC__ conditionals around function definitions; the
declarations in init.h will provide the same information, more
usefully.

* init.c (scm_boot_guile): Add init_func argument; call
(*init_func) instead of calling scm_appinit; it's ucky to
hard-code names for the user's procedures.
* init.h (scm_boot_guile): Adjust declaration.
1996-08-15 07:21:17 +00:00
Jim Blandy
ac335fa89d * gc.h: Use the PROTO macro when declaring functions.
* gc.c: Use the PROTO macro when declaring static functions.
Remove the CPP hair around function definitions.
1996-08-15 07:18:28 +00:00
Jim Blandy
3b2b87606a * gc.h: Use the PROTO macro when declaring functions.
* gc.c: Use the PROTO macro when declaring static functions.
Remove the CPP hair around function definitions.

* gc.c (scm_init_storage): Initialize scm_asyncs.
1996-08-15 07:17:52 +00:00
Jim Blandy
b971d089b4 * libguile.h: #include "__scm.h" before testing the STDC_HEADERS
preprocessor symbol; "__scm.h" is where it might get #defined.
* __scm.h: Similar: #include <scmconfig.h> before testing
HAVE_LIMITS_H.

* __scm.h: It's HAVE_LIMITS_H, not HAVE_LIMITSH.

* __scm.h (PROTO): New macro, for declaring functions with
prototypes.

* __scm.h (SCM_SYSMISSING): When we don't have ENOSYS, don't
complain about it in the error message; the error message is
adequate without that note, and there's nothing the user can do
about it.
1996-08-15 07:17:00 +00:00
Jim Blandy
94f1e09898 * posix.c (scm_init_posix): Use numeric values, rather than CPP
symbols, when defining the scheme values R_OK, W_OK, X_OK, and F_OK.
The symbols aren't available on some systems, and I'm pretty sure
their values are fixed by common widespread practice.
* ioext.c (scm_init_ioext): Code here defined them too; remove it.
1996-08-08 08:28:21 +00:00
Jim Blandy
dd447b634b . 1996-08-07 21:54:30 +00:00
Jim Blandy
d4308aa89c * Makefile.in (ancillary): Drop def.sed. 1996-08-07 21:44:44 +00:00
Jim Blandy
1fd838affc More functions unavailable on some systems.
* configure.in (AC_CHECK_FUNCS): Add ctermid, setpgid, setsid,
tcgetpgrp, tcsetpgrp, and waitpid to the list of functions to
check for.
* configure, scmconfig.h.in: Updated, using autoconf and autoheader.
* posix.c (scm_sys_ctermid, scm_sys_setpgid, scm_sys_setsid,
scm_sys_tcgetpgrp, scm_sys_tcsetpgrp, scm_sys_waitpid): Put the
bodies of these functions in "#ifdef HAVE_MUMBLE" clauses, with a
stub that signals an error as the #else.
1996-08-07 20:25:10 +00:00
Jim Blandy
339d28a35e * Makefile.in (ancillary): Drop acconfig-1.5.h; add acconfig.h. 1996-08-07 20:15:16 +00:00
Gary Houston
3f8b7387c6 let __scm.h be edited directly 1996-08-07 09:52:26 +00:00
Gary Houston
95b8881908 portability fixes for header inclusion etc. 1996-08-07 09:46:41 +00:00
Jim Blandy
458d621d1f . 1996-08-07 00:10:52 +00:00
Jim Blandy
b09ca6436c Changes for NeXT, suggested by Robert Brown.
* configure.in: Call AC_TYPE_MODE_T.
(AC_CHECK_HEADERS): Add libc.h, to get more prototypes on the
NeXT.  Put header file list in alphabetical order.
* configure, scmconfig.h.in: Regenerated.
* filesys.c [HAVE_LIBC_H]: #include <libc.h>.

* acconfig.h: New file, providing documentation for the CPP
symbols defined in configure.in
* acconfig-1.5.h: Removed; superceded by the above.
1996-08-06 21:34:23 +00:00
Jim Blandy
1f9e22264d Changes for NeXT, suggested by Robert Brown.
* configure.in: Call AC_TYPE_MODE_T.
(AC_CHECK_HEADERS): Add libc.h, to get more prototypes on the
NeXT.  Put header file list in alphabetical order.
* configure, scmconfig.h.in: Regenerated.
* filesys.c [HAVE_LIBC_H]: #include <libc.h>.

* filesys.c [HAVE_STRING_H]: #include <string.h>, to get prototype
for strerror.
1996-08-06 20:29:18 +00:00
Jim Blandy
ce2cc11688 . 1996-08-06 19:48:49 +00:00
Gary Houston
8b13c6b392 a few fixups to primitive functions 1996-08-04 22:32:07 +00:00
Gary Houston
2e18892a89 let fdsocket.c compile if struct linger is missing 1996-08-03 03:12:33 +00:00
Gary Houston
02b754d3a6 make C system primitives throw exceptions 1996-08-02 23:26:33 +00:00
Jim Blandy
0f1c2da66c . 1996-08-01 10:55:47 +00:00
Jim Blandy
8cc713820f * filesys.c, posix.c: #include <sys/types.h> before <sys/stat.h>.
This is necessary on Ultrix, and doesn't hurt portability.
1996-08-01 10:54:50 +00:00
Jim Blandy
781031891a * Makefile.in (libobjs): Remove duplicate entry for markers.o. 1996-08-01 10:53:51 +00:00
Jim Blandy
9be2a49be1 . 1996-08-01 10:30:22 +00:00
Jim Blandy
9edad2a0a0 * Makefile.in (.c.x): Compensate for Ultrix's broken Bourne shell:
every if must have an else, or else the whole command has a
non-zero exit code whenever the if's condition is false.
1996-08-01 10:29:46 +00:00
Jim Blandy
b33b129567 . 1996-08-01 08:56:42 +00:00
Jim Blandy
a44a755d25 *** empty log message *** 1996-08-01 08:38:52 +00:00
Jim Blandy
0f7876f515 * Makefile.in (dist-dir): New target, implementing a new dist system.
(installed_h_files): Put in alphabetical order.
Remove duplicate entries for markers.h and unif.h.
(c_files): Remove duplicate entries for markers.c.
(ancillary): Renamed from anillery; all uses changed.  Remove
PLUGIN; it's a directory, and needs special treatment in dist-dir.
Remove all the ../doc/* files; doc/Makefile.in handles that.
1996-08-01 08:26:22 +00:00
Jim Blandy
0f2d19dd46 maintainer changed: was lord, now jimb; first import 1996-07-25 22:56:11 +00:00