and is now broken under NetBSD. I can't fathom what it's trying
to do, so I've replaced it with something that I do understand,
which seems to work, and which isn't broken on NetBSD. "Progress?
You Decide." (Thanks to Perry Metzger.)
provided with the manual.
* example-smob: A new subdirectory, containing example files for
the manual chapter on smobs.
* Makefile.am (EXAMPLE_SMOB_FILES, dist-hook): New variable and
target, to get the example-smob directory into the distribution.
* Makefile.in: Regenerated.
long, not only when a float is the same size as a long. This gets
us SCM_SINGLES defined on alphas. (Thanks to Clark McGrew.)
* configure: Regenerated.
Clark McGrew.)
* ramap.c (scm_ra_matchp, scm_array_fill_int, scm_array_index_map_x,
raeql_1): Add cases for scm_tc7_svect (short vectors) and
scm_tc7_llvect (long long vectors).
get rid of these spurious mismatch warnings. Now both
libguile/versiondat.h and ice-9/version.scm are generated directly
by the configuration process, rather than having version.scm
generated directly, and libguile/versiondat.h generated by the
Makefile, which is generated by configure. It seems that
sometimes the Makefile would change, but versiondat.h depends on
Makefile.in, not Makefile, so it wouldn't get rebuilt.
* Makefile.am (versiondat.h): Target removed; this is generated
directly by the configure script now.
(BUILT_SOURCES): Remove versiondat.h.
* versiondat.h.in: New file, transformed by the configure script
into versiondat.h.
* Makefile.in: Regenerated.
options.c): Rename RECKLESS -> SCM_RECKLESS, CAUTIOUS ->
SCM_CAUTIOUS; this way, 1) there's only one version of each flag
to define (we used to have both RECKLESS and SCM_RECKLESS), and 2)
if we want to use them in a header file some day, we can. (Thanks
to Michael Livshin.)
* scmsigs.c (usleep): Clean up oddities declaring usleep; since
we're just using it, not redefining it, we can use a K&R style
declaration here.
(sleep): Declare this, too, if the system hasn't.
(scm_sleep, scm_usleep): Use scm_thread_sleep and
scm_uthread_sleep if they're available; otherwise, just call the
system functions.
* scmconfig.h.in: Regenerated.
* coop.c (sleep, usleep): Remove declarations; we don't use or
redefine these any more.
(scm_thread_usleep, scm_thread_sleep): New functions which do the
job of usleep and sleep in a thread-friendly way. We can use
these in the rest of Guile. Define versions for systems both with
and without iselect.
* coop.c (scm_thread_sleep): Make `slept' an unsigned long.
* coop.c (coop_sleephelp): Remove ANSI #ifdef hair.
* configure.in: Remove tests for usleep's argument type; we only
need that if we're going to replace it.
* acconfig.h (USLEEP_ARG_TYPE): Delete. All the other SLEEP
garbage is needed just to use usleep and sleep without compiler
warnings.
* configure: Regenerated.
as does the return type. We really shouldn't be redefining usleep
at all, but I don't have time to clean that up before the 1.3.
release. It's on the schedule for afterwards. (Thanks to Julian
Satchell.)
* coop.c (usleep): Use USLEEP_ARG_TYPE in prototype and
definition.
* scmsigs.c (usleep): Use USLEEP_ARG_TYPE in prototype.
* scmconfig.h: Regenerated.
starting with guile_cv_; ac_cv_ is autoconf's namespace.
The type of the argument to usleep varies from system to system,
as does the return type. We really shouldn't be redefining usleep
at all, but I don't have time to clean that up before the 1.3
release. It's on the schedule for afterwards.
* configure.in: Cache results from usleep return value test.
Test for the type of the usleep argument, and cache that too.
* acconfig.h (USLEEP_ARG_TYPE): New macro.
as does the return type. We really shouldn't be redefining usleep
at all, but I don't have time to clean that up before the 1.3
release. It's on the schedule for afterwards.
* configure.in: Cache results from usleep return value test.
Test for the type of the usleep argument, and cache that too.
* acconfig.h (USLEEP_ARG_TYPE): New macro.
here; first, NetBSD doesn't #define it, and second, it's the wrong
way to go about these things.
(dld_find_executable): Delete this MSDOS support code. This isn't
the way we want to support this; it needs to be rethunk at a
larger scale.