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

21330 commits

Author SHA1 Message Date
Jim Blandy
60704a735b * Makefile.in (ancillary): List aclocal.m4, for 'make dist'.
* Makefile.in (ALL_CFLAGS): Don't mention CFLAGS here; it's
implicit in the .c.o rule.
(.c.x): Don't mention ALL_CFLAGS here; its value is included in
$(CC) already.

Put the library path in a header file, instead of passing it on
the command line in every compilation.
* Makefile.in (libpath.h): New target.
(feature.o): Depend on libpath.h.
(clean): Delete libpath.h.
(ALL_CFLAGS): Don't use -DLIBRARY_PATH here.  Instead ...
* feature.c: ... #include "libpath.h" here.
* .cvsignore: Ignore libpath.h.

Don't install the unwashed masses of Guile header files in the
main #include path; put most of them in a subdirectory called
'libguile'.  This avoids naming conflicts between Guile header
files and system header files (of which there were a few).
* Makefile.in (pkgincludedir): Deleted.
(innerincludedir): New variable; this and $(includedir) are enough.
(INCLUDE_CFLAGS): Search for headers in "-I$(srcdir)/..".
(installed_h_files): Divide this up.  Now this variable lists
those header files which should go into $(includedir) (i.e. appear
directly in the #include path), and ...
(inner_h_files): ... this new variable says which files appear in
a subdirectory, and are referred to as <libguile/mumble.h>.
(h_files): List them both.
(install): Create innerincludedir, not pkgincludedir.  Put
the installed_h_files and inner_h_files in their proper places.
(uninstall): Corresponding changes.
* alist.h, append.h, arbiters.h, async.h, boolean.h, chars.h,
continuations.h, debug.h, dynwind.h, error.h, eval.h, fdsocket.h,
feature.h, fports.h, gc.h, genio.h, gsubr.h, hash.h, init.h,
ioext.h, kw.h, libguile.h, list.h, markers.h, marksweep.h,
mbstrings.h, numbers.h, options.h, pairs.h, ports.h, posix.h,
print.h, procprop.h, procs.h, ramap.h, read.h, root.h,
sequences.h, smob.h, socket.h, srcprop.h, stackchk.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tag.h, throw.h, unif.h, variable.h, vectors.h, version.h,
vports.h, weaks.h: Find __scm.h in its new location.
* __scm.h: Find scmconfig.h and tags.h in their new locations
(they're both "inner" files).
1996-09-04 06:16:37 +00:00
Jim Blandy
78bbef0de7 Put the library path in a header file, instead of passing it on
the command line in every compilation.
* Makefile.in (libpath.h): New target.
(feature.o): Depend on libpath.h.
(clean): Delete libpath.h.
(ALL_CFLAGS): Don't use -DLIBRARY_PATH here.  Instead ...
* feature.c: ... #include "libpath.h" here.
* .cvsignore: Ignore libpath.h.
1996-09-04 06:16:00 +00:00
Jim Blandy
e2cac61bd5 Put the library path in a header file, instead of passing it on
the command line in every compilation.
* Makefile.in (libpath.h): New target.
(features.o): Depend on libpath.h.
(clean): Delete libpath.h.
(ALL_CFLAGS): Don't use -DLIBRARY_PATH here.  Instead ...
* features.c: ... #include "libpath.h" here.
* .cvsignore: Ignore libpath.h.
1996-09-04 06:15:25 +00:00
Jim Blandy
228ada6301 *** empty log message *** 1996-09-03 05:09:24 +00:00
Jim Blandy
ddc2af8608 * Makefile.in (TAGS): Produce a single tags file for all of Guile. 1996-09-03 05:07:54 +00:00
Jim Blandy
9e6758ee8c *** empty log message *** 1996-09-03 04:49:00 +00:00
Jim Blandy
2420229da7 On NextStep, <utime.h> doesn't define struct utime, unless we
#define _POSIX_SOURCE before #including it.
* aclocal.m4 (GUILE_STRUCT_UTIMBUF): New test.
* acconfig.h: New comment text for above CPP symbol.
* configure.in: Call it.
* posix.c: #define _POSIX_SOURCE if it seems necessary.
1996-09-03 04:48:42 +00:00
Jim Blandy
5bc433f5fd * socket.c: Don't include a prototype for inet_aton; just use a
K&R style declaration, to avoid warnings but minimize the chance
of conflicts with the system.
1996-09-03 04:44:48 +00:00
Jim Blandy
bab0f4e553 On NextStep, <utime.h> doesn't define struct utime, unless we
#define _POSIX_SOURCE before #including it.
* aclocal.m4 (GUILE_STRUCT_UTIMBUF): New test.
* acconfig.h: New comment text for above CPP symbol.
* configure.in: Call it.
* posix.c: #define _POSIX_SOURCE if it seems necessary.

* configure.in (AC_CHECK_HEADERS): Include sys/utime.h and utime.h
in the list.
* posix.c: Check HAVE_SYS_UTIME_H and HAVE_UTIME_H, instead of
testing for __EMX__.

* posix.c: #include <libc.h>, if it exists.

* posix.c: Cast the return result to GETGROUPS_T, not gid_t; we
don't even know if the latter exists.

* posix.c (s_sys_setpgid, s_sys_setsid, s_sys_ctermid,
s_sys_tcgetpgrp, s_sys_tcsetpgrp): Renamed from s_setpgid,
s_setsid, s_ctermid, s_tcgetpgrp, s_tcsetpgrp, for consistency.

* posix.c (R_OK, W_OK, X_OK, F_OK): #define these if the system's
header files don't.
(scm_init_posix): Use them when initializing the Scheme constants
of the same name.
1996-09-03 04:43:15 +00:00
Jim Blandy
2170fce3df On NextStep, <utime.h> doesn't define struct utime, unless we
#define _POSIX_SOURCE before #including it.
* aclocal.m4 (GUILE_STRUCT_UTIMBUF): New test.
* acconfig.h: New comment text for above CPP symbol.
* configure.in: Call it.
* posix.c: #define _POSIX_SOURCE if it seems necessary.

* configure.in (AC_CHECK_HEADERS): Include sys/utime.h and utime.h
in the list.
* posix.c: Check HAVE_SYS_UTIME_H and HAVE_UTIME_H, instead of
testing for __EMX__.
1996-09-03 04:42:59 +00:00
Jim Blandy
087d2a6f98 *** empty log message *** 1996-09-03 04:41:38 +00:00
Jim Blandy
3eee6dad76 . 1996-08-30 21:27:24 +00:00
Jim Blandy
e4ef46d43c *** empty log message *** 1996-08-30 21:15:31 +00:00
Jim Blandy
a2086f6fcd * Makefile.in (libdir, includedir, bindir): Use the
autoconf-supplied values, instead of deriving them ourselves.
(pkgincludedir, datadir, pkgdatadir): New variables.
(install, uninstall): Put the header files in a special
subdirectory, not in the main search path.

* Makefile.in (IMPLPATH): Deleted; never used.

* Makefile.in (TCL_SRC_DIR, TK_SRC_DIR): Deleted; we don't depend
on the Tcl/Tk source any more.
(INCLUDE_CFLAGS): Remove references to the above.

* Makefile.in (version.o): Corrected dependencies.
1996-08-30 21:12:30 +00:00
Jim Blandy
02ceadb86c * boot-9.scm (%load-path): Add the site directory.
Add the directory named after the version number.
Prepend the version number to the other directories in the path.
Simplify by mapping the common prefix onto each item.
* Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
sitedatadir): New definitions.
(libparent, libdir, install_path): Replaced by above.
(install): Create the above directories.
Put the source files into subpkgdatadir.
(uninstall): Remove the above directories.
1996-08-30 21:09:23 +00:00
Jim Blandy
e9b367a54b *** empty log message *** 1996-08-30 04:35:06 +00:00
Jim Blandy
9d7e1edf20 * libguile.h: #include "version.h"
* init.c (scm_boot_guile): Call scm_init_version.
* gscm.c (gscm_run_scm): Call scm_init_version.

* configure.in (GUILE_MAJOR_VERSION, GUILE_MINOR_VERSION,
GUILE_VERSION): AC_DEFINE these.
(acconfig.h): #undef the above symbols.

* Makefile.in (libobjs): Add version.o.
(installed_h_files): Add version.h.
(c_files): Add version.c.
(gen_c_files): Add version.x.
(version.o): New rule.
(alist.o, append.o, appinit.o, arbiters.o, async.o, boolean.o,
chars.o, continuations.o, dynwind.o, eq.o, error.o, eval.o,
fdsocket.o, feature.o, files.o, filesys.o, fports.o, gc.o,
genio.o, gsubr.o, hash.o, hashtab.o, init.o, kw.o, list.o, load.o,
mallocs.o, markers.o, marksweep.o, mbstrings.o, numbers.o,
objprop.o, pairs.o, ports.o, posix.o, print.o, procprop.o,
procs.o, ramap.o, read.o, root.o, scmsigs.o, sequences.o,
simpos.o, smob.o, socket.o, stackchk.o, stime.o, strings.o,
strop.o, strorder.o, strports.o, struct.o, symbols.o, tag.o,
throw.o, unif.o, variable.o, vectors.o, version.o, vports.o,
weaks.o): Add version.h to dependency lists.
(markers.o): Remove duplicate rule.

* version.h: New file.

* version.c: New file.
1996-08-30 04:34:43 +00:00
Jim Blandy
a585a27d24 *** empty log message *** 1996-08-30 03:36:49 +00:00
Jim Blandy
566011b96d * symbols.c (scm_strhash): scm_downcase is now a function, not an
array; use it appropriately.  Since GCC is quite happy to
subscript functions, it never warned us about this; we should use
-Wpointer-arith in the future.  I guess we never tested
case-insensitivity.
1996-08-30 03:36:29 +00:00
Jim Blandy
866679103b * socket.c: Doc and copyright fixes. 1996-08-30 03:35:46 +00:00
Jim Blandy
00312aa376 *** empty log message *** 1996-08-30 03:13:07 +00:00
Jim Blandy
fa6ffa2f29 Don't use the PLUGIN system to gather information for the
Makefile's distribution and installation targets; just put it all
in the Makefile directly.
* PLUGIN/this.configure (scm_files, aux_files): Remove sections
for these.
* configure.in: Remove code that gets and substitutes scm_files and
aux_files.
* Makefile.in (scm_files, aux_files): Write out the list of files
here, where people expect to find them.
1996-08-30 03:12:46 +00:00
Mikael Djurfeldt
1f3f68bffe *** empty log message *** 1996-08-24 03:31:29 +00:00
Mikael Djurfeldt
e090924c2e * debug.c: Fixed and improved gdb support. 1996-08-24 03:30:52 +00:00
Mikael Djurfeldt
23858ad18b * stime.c: Added declaration of ftime. (This is missing in
Solaris 2 headers.)
1996-08-23 16:18:50 +00:00
Mikael Djurfeldt
82ddea4e8a * socket.c: Added declaration of inet_aton to avoid compiler
warning.  (Hope this solution is correct.)
1996-08-23 16:18:38 +00:00
Mikael Djurfeldt
1f99d12bc0 *** empty log message *** 1996-08-23 16:18:21 +00:00
Gary Houston
76764db164 remove a change that shouldn't have slipped in. 1996-08-23 06:46:51 +00:00
Gary Houston
e17cba1666 * strerror.c: new file from Emacs' sysdep.c.
maybe configure should also check for sys_errlist.
1996-08-23 06:44:47 +00:00
Gary Houston
14a7e04c88 * configure, scmconfig.h.in: Updated, using autoconf and autoheader.
* Makefile.in (c_files): add strerror.c.

	* strerror.c: new file from Emacs' sysdep.c.
	maybe configure should also check for sys_errlist.

	* configure.in (AC_REPLACE_FUNCS): add strerror.
1996-08-23 06:40:56 +00:00
Mikael Djurfeldt
7685f77cec *** empty log message *** 1996-08-23 04:55:31 +00:00
Mikael Djurfeldt
4fe4070a0e * debug.scm: New file: debug extensions. 1996-08-23 04:54:35 +00:00
Mikael Djurfeldt
c56634ba1a * boot-9.scm: Preliminary solution: optionally load the debug
module.
1996-08-23 04:54:23 +00:00
Mikael Djurfeldt
96a8aaf3b3 *** empty log message *** 1996-08-23 04:54:08 +00:00
Mikael Djurfeldt
8755c9e4ca * debug.c (scm_init_debug): Added initialization for
scm_evaluator_traps.
1996-08-23 04:43:48 +00:00
Mikael Djurfeldt
37bac80058 *** empty log message *** 1996-08-23 04:43:24 +00:00
Mikael Djurfeldt
1efc5155a3 *** empty log message *** 1996-08-23 01:22:39 +00:00
Mikael Djurfeldt
faa6b3dfb6 * gscm.c, init.c, root.c, throw.c: Bug fixes:
last_debug_info_frame is now updated in all cases.
1996-08-23 01:21:07 +00:00
Mikael Djurfeldt
39f1ef511c * __scm.h, stackchk.h, stackchk.c: Guile now performs stack
checking.
1996-08-23 01:21:00 +00:00
Mikael Djurfeldt
b7ff98ddd6 * eval.c, print.h, print.c, read.h, read.c: Modifications to
run-time options.
1996-08-23 01:20:34 +00:00
Mikael Djurfeldt
fe90df5148 * options.h, options.c: Options now have documentation strings.
Also added a long explanatory commentary.
1996-08-23 01:20:00 +00:00
Mikael Djurfeldt
cbff1d8959 * debug.h, debug.c: Various name changes.
(Mostly prefixing with SCM_.)  Renamed "debug-options" -->
"debug-options-interface".  See commentary in options.c.

* options.h, options.c: Options now have documentation strings.
Also added a long explanatory commentary.
1996-08-23 01:19:52 +00:00
Mikael Djurfeldt
5e8d7fd4fa * debug.h, debug.c: Various name changes.
(Mostly prefixing with SCM_.)  Renamed "debug-options" -->
"debug-options-interface".  See commentary in options.c.
1996-08-23 01:19:03 +00:00
Mikael Djurfeldt
80c78696e8 * __scm.h, stackchk.h, stackchk.c: Guile now performs stack
checking.
1996-08-23 01:18:28 +00:00
Mikael Djurfeldt
a8959050f9 *** empty log message *** 1996-08-23 01:16:02 +00:00
Mikael Djurfeldt
043045f853 * error.c (scm_everr, scm_init_error): write now writes correct
number of characters.  Define %%system-error with SCM_SYMBOL.
1996-08-22 15:37:57 +00:00
Mikael Djurfeldt
5391bb635c *** empty log message *** 1996-08-22 15:37:35 +00:00
Mikael Djurfeldt
074fa9cff4 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
weak-key-hash-table?.  (Again!)
1996-08-21 11:11:38 +00:00
Mikael Djurfeldt
4e378733a6 *** empty log message *** 1996-08-21 11:11:20 +00:00
Mikael Djurfeldt
8d71b0ce98 *** empty log message *** 1996-08-20 17:12:43 +00:00