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

45 commits

Author SHA1 Message Date
Dirk Herrmann
f0942910af * Deprecated SCM_RWSTRINGP and SCM_VALIDATE_RWSTRING.
* Prepared SCM_STRING_U?CHARS to replace SCM_ROU?CHARS.
2000-11-21 17:32:38 +00:00
Gary Houston
5574f075e4 Reverse the previous changes, I don't think they are needed after all. 2000-10-01 11:03:17 +00:00
Gary Houston
99c01f4ad8 * configure.in: check whether inet_aton is declared.
* acconfig.h: added MISSING_INET_ATON_DECL.
2000-10-01 10:31:10 +00:00
Gary Houston
bdbfbbfb86 2000-09-17 Gary Houston <ghouston@arglist.com>
* configure.in, acconfig.h: remove the GCSE test: it doesn't seem
	to be reliable on all platforms.
2000-09-17 09:24:47 +00:00
Gary Houston
aec1eb3048 * acconfig.h: added BROKEN_GCSE.
* configure.in: check for a gcc GCSE optimisation bug.
2000-08-18 22:44:12 +00:00
Gary Houston
08f980a4fa 2000-07-31 Gary Houston <ghouston@arglist.com>
* acconfig.h: added HAVE_H_ERRNO
	* configure.in: removed some dnl'd & obsolete cygwin stuff.
	added a test for h_errno.
2000-07-31 21:02:54 +00:00
Dirk Herrmann
b272843227 * Removed mit-threads and fsu-threads and references. 2000-05-30 15:56:55 +00:00
Mikael Djurfeldt
4e381d8bab * acconfig.h (GUILE_DEBUG_MALLOC): New. 2000-04-21 00:24:11 +00:00
Mikael Djurfeldt
25f457c0e2 * acconfig.h (GUILE_PTHREAD_COMPAT): New config variable. 2000-03-29 01:52:19 +00:00
Mikael Djurfeldt
6a2d5b8ce7 * acconfig.h (HAVE_STRUCT_TIMESPEC): Added. 2000-03-12 01:48:34 +00:00
Gary Houston
38c1d3c4d5 * configure.in: check whether localtime caches TZ. copied from
Emacs 20.5.
	* acconfig.h: add LOCALTIME_CACHE.

	* These changes should make it unnecessary to call tzset from
	Scheme after modifying the TZ environment variable, even if the
	system date facilities cache the value.
	* stime.c (setzone, scm_localtime): added comments.
	(tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
	(setzone): don't call tzset.
	(restorezone): call tzset only if HAVE_TZSET is defined.
	(scm_tzset): don't define if HAVE_TZSET not defined.  Change the
	doc string to indicate that this procedure isn't likely to do
	anything useful.
	(scm_localtime, scm_strftime, scm_mktime): call tzset if
	LOCALTIME_CACHE is defined.
2000-01-09 20:50:03 +00:00
Gary Houston
afe5177e7f * acconfig.h: add HAVE_ARRAYS.
* configure.in: add --disable-arrays option, probably temporary.

	* the following changes allow guile to be built with the array
	"module" omitted.  some of this stuff is just tc7 type support,
	which wouldn't be needed if uniform array types were converted
	to smobs.

	* tag.c (scm_utag_bvect ... scm_utag_cvect): don't define unless
	HAVE_ARRAYS.
	(scm_tag): don't check array types unless HAVE_ARRAYS.

	* sort.c (scm_restricted_vector_sort_x, scm_sorted_p):
	remove the unused array types.
	* (scm_stable_sort, scm_sort): don't support vectors if not
	HAVE_ARRAYS.  a bit excessive.

	* random.c (vector_scale, vector_sum_squares,
	scm_random_solid_sphere_x, scm_random_hollow_sphere_x,
	scm_random_normal_vector_x): don't define unless HAVE_ARRAYS.

	* gh_data.c (makvect, gh_chars2byvect, gh_shorts2svect,
	gh_longs2ivect,	gh_ulongs2uvect, gh_floats2fvect, gh_doubles2dvect,
	gh_uniform_vector_length, gh_uniform_vector_ref):
	don't define unless HAVE_ARRAYS.
	(gh_scm2chars, gh_scm2shorts, gh_scm2longs, gh_scm2floats,
	gh_scm2doubles):
	don't check vector types if not HAVE_ARRAYS.

	* eq.c (scm_equal_p), eval.c (SCM_CEVAL), print.c (scm_iprin1),
	gc.c (scm_gc_mark, scm_gc_sweep), objects.c (scm_class_of):
	don't support the array types unless HAVE_ARRAYS is defined.

	* tags.h: make nine tc7 types conditional on HAVE_ARRAYS.

	* read.c (scm_lreadr): don't check for #* unless HAVE_ARRAYS is
	defined (this should use read-hash-extend).

	* ramap.c, unif.c: don't check whether ARRAYS is defined.

	* vectors.c (scm_vector_set_length_x): moved here from unif.c.  call
	scm_uniform_element_size if HAVE_ARRAYS.
	vectors.h: prototype too.

	* unif.c (scm_uniform_element_size): new procedure.

	* init.c (scm_boot_guile_1): don't call scm_init_ramap or
	scm_init_unif unless HAVE_ARRAYS is defined.

	* __scm.h: don't define ARRAYS.

	* Makefile.am (EXTRA_libguile_la_SOURCES): unif.c and ramap.c
	moved here from	libguile_la_SOURCES.


	* Makefile.am (ice9_sources): add arrays.scm.

	* boot-9.scm: load arrays.scm if 'array is provided.

	* arrays.scm: new file with stuff from boot-9.scm.
1999-11-19 18:16:19 +00:00
Jim Blandy
924cb850bc Shouldn't have deleted this. 1999-10-05 22:33:34 +00:00
Jim Blandy
5d94b2fead Don't store generated files in the repository any more. Instead,
require people to run autogen.sh on trees from snapshots and CVS.
* Makefile.in, acconfig.h, aclocal.m4, configure: Deleted.
* autogen.sh: New file.
* ANON-CVS, SNAPSHOTS: Updated instructions.
1999-10-05 19:07:40 +00:00
Jim Blandy
94e6a5c1d5 * acconfig.h (HAVE_POSIX, HAVE_NETWORKING): Add comments. 1999-10-02 23:52:23 +00:00
Greg J. Badros
fca7547b1a Fix my last commit -- DEBUG_FREELIST renamed to GUILE_DEBUG_FREELIST 1999-09-28 00:54:26 +00:00
Greg J. Badros
52b3923a9d * configure.in: Added --enable-debug-freelist option.
* acconfig.h: Added DEBUG_FREELIST.
1999-09-27 23:29:07 +00:00
Gary Houston
52cfc69be6 support new configure options: --disable-posix, --disable-net
and --disable-regex.
1999-09-26 16:00:36 +00:00
Mikael Djurfeldt
3d6720d7bf * acconfig.h: Added HAVE_S_ISLNK. 1999-08-29 17:57:35 +00:00
Mikael Djurfeldt
4725c2983f Removed configuration option --enable-lang which was recently added. 1999-07-28 20:39:34 +00:00
Mikael Djurfeldt
04eaea3390 * acconfig.h (GUILE_LANG): New configuration variable. 1999-07-27 19:10:34 +00:00
Mikael Djurfeldt
d2953283e0 * acconfig.h: Added HAVE_LONG_LONGS. 1999-01-10 07:41:56 +00:00
Jim Blandy
cc77007c2b *** empty log message *** 1998-10-19 15:28:47 +00:00
Jim Blandy
508487473d Add copyright notice. 1998-10-19 15:28:46 +00:00
Jim Blandy
da7532528c Don't redefine sleep/usleep.
* 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.
1998-10-13 23:16:59 +00:00
Jim Blandy
7b584d092b 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.
1998-10-12 21:07:43 +00:00
Jim Blandy
5fe372d903 * acconfig.h (HAVE_RL_GETC_FUNCTION): Fix this entry. 1998-10-11 21:56:08 +00:00
Jim Blandy
d60497159a * configure.in: Don't forget to #define HAVE_RL_GETC_FUNCTION if
we do find the rl_getc_function variable in the readline library;
AC_CHECK_FUNCS used to do this for us, but we're not using it any
more.
* acconfig.h: Add an entry for HAVE_RL_GETC_FUNCTION.
1998-10-07 10:15:57 +00:00
Jim Blandy
c31bfb8563 * configure.in: Check for a missing `sleep' declaration.
* acconfig.h (MISSING_SLEEP_DECL): Provide some text for this.
* configure: Regenerated.
1998-10-03 13:34:32 +00:00
Jim Blandy
777b022a9e * configure.in: Don't use the canonical host name to decide
whether `bzero' and `usleep' have declarations --- that's going
back to the bad old days before autoconf.  Remove the call to
AC_CANONICAL_HOST and the subsequent case statement.
(GUILE_FUNC_DECLARED): New m4 macro.  Use it to check for
declarations for `bzero', `usleep', and (new!) `strptime'.
* acconfig.h: (DECLARE_BZERO, DECLARE_USLEEP): Removed.
(MISSING_BZERO_DECL, MISSING_USLEEP_DECL, MISSING_STRPTIME_DECL):
Added.  I think this naming convention is more consistent with the
rest of autoconf; names generally describes the system, not what
the package should do to accomodate the system.
* configure: Regenerated.
1998-10-03 08:01:41 +00:00
Jim Blandy
3ed8243794 Remove the TOTORO kludge. We're not doing snapshots any more, so
totoro is completely uninvolved.
* configure.in: Remove code to check the hostname and #define
TOTORO.
* acconfig.h: Remove comments for TOTORO symbol.
* configure, Makefile.in: Regenerated.
1998-07-27 23:28:55 +00:00
Mikael Djurfeldt
95fc06d501 * acconfig.h, configure.in: Define TOTORO if configuring on
totoro.red-bean.com.

* configure.in: Check for strdup.
1998-07-12 02:27:02 +00:00
Mikael Djurfeldt
0935d604b5 * scmsigs.c: Declare usleep as returning void on some systems.
(scm_usleep): Return SCM_INUM0 on those systems.

* coop.c (usleep): Return void on some systems.

* configure.in: Define USLEEP_RETURNS_VOID on some systems.
1998-04-24 23:36:04 +00:00
Mikael Djurfeldt
17f3270548 * acconfig.h: Added DECLARE_BZERO, DECLARE_USLEEP 1998-04-20 00:38:18 +00:00
Tim Pierce
c06768c880 acconfig.h: Add USCORE.
scmconfig.h.in: Regenerated.
1997-12-01 18:22:04 +00:00
Mikael Djurfeldt
933a7411bb * configure.in: Added code to enable GUILE_ISELECT on systems
which have the necessary functions (gettimeofday, select).

* acconfig.h: Added GUILE_ISELECT.
1997-11-27 18:03:06 +00:00
Tim Pierce
2a0d71767f Added support for leading dlsym underscore. 1997-11-21 19:39:23 +00:00
Mikael Djurfeldt
e9cd5d2f44 * configure.in (AC_CHECK_HEADERS): Test for rxposix.h,
rx/rxposix.h.  Add library rx only if regcomp can't be found
without it.

* acconfig.h (HAVE_REGCOMP): Added it here since autoheader misses
it for some reason!
1997-08-24 15:35:08 +00:00
Jim Blandy
da88f0cb9f Changes to compile under gnu-win32, from Marcus Daniels:
* configure.in: When sys/un.h exists, define HAVE_UNIX_DOMAIN_SOCKETS
to indicate that Unix domain sockets will work.
Check for socketpair, getgroups, setwent, pause, and tzset
(cygwin currently lacks these them).
Check for sethostent endhostent getnetent setnetent endnetent
getprotoent endprotoent getservent endservent getnetbyaddr
getnetbyname inet_lnaof inet_makeaddr inet_netof (cygwin currently
lacks them).  In the case of cygwin, temporarily prefix these
functions with "cygwin32_", the way that netdb.h does.
Don't define HAVE_REGCOMP unless both regcomp and regex.h are
available (cygwin b18 came distributed without a working regex.h
file).
* acconfig.h (HAVE_UNIX_DOMAIN_SOCKETS): Add this.
* configure: Regenerated.
1997-07-11 05:41:08 +00:00
Jim Blandy
f244dee1a1 Revert Marcus's changes; will re-apply when we get papers. 1997-06-24 02:16:31 +00:00
Jim Blandy
c10012e3ed Changes to compile under gnu-win32, from Marcus Daniels:
* configure.in: When sys/un.h exists, define HAVE_UNIX_DOMAIN_SOCKETS
to indicate that Unix domain sockets will work.
Check for socketpair, getgroups, setwent, pause, and tzset
(cygwin currently lacks these them).
Check for sethostent endhostent getnetent setnetent endnetent
getprotoent endprotoent getservent endservent getnetbyaddr
getnetbyname inet_lnaof inet_makeaddr inet_netof (cygwin currently
lacks them).  In the case of cygwin, temporarily prefix these
functions with "cygwin32_", the way that netdb.h does.
Don't define HAVE_REGCOMP unless both regcomp and regex.h are
available (cygwin b18 came distributed without a working regex.h
file).
* acconfig.h (HAVE_UNIX_DOMAIN_SOCKETS): Add this.
* configure: Regenerated.
1997-06-24 01:44:29 +00:00
Jim Blandy
7c86ae051a Try to detect when people are using one version of libguile and a
different version of ice-9.  People have been skewing things and
sending in bug reports.
* configure.in: Provide libguile its version information through a
separate header file generated by the Makefile, not through
scmconfig.h.
(GUILE_MAJOR_VERSION, GUILE_MINOR_VERSION, GUILE_VERSION):
AC_SUBST these, instead of AC_DEFINE'ing them.
(GUILE_STAMP): New AC_SUBST: the time we configured the tree.
(AC_OUTPUT): Create ice-9/version.scm.
* acconfig.h (GUILE_MAJOR_VERSION, GUILE_MINOR_VERSION,
GUILE_VERSION): Deleted.
* Makefile.in: Regenerated.
1997-06-22 23:32:02 +00:00
Jim Blandy
0ad0bdeecd Doc fix. 1997-06-22 20:41:30 +00:00
Gary Houston
e1a191a8ca * scmsigs.h, async.h: updated.
* _scm.h: if HAVE_RESTARTS is defined then don't use a SYSCALL
loop.

* posix.c (scm_uname): interpret only negative values as an error.
Solaris normally returns a positive value.

* script.c (scm_compile_shell_switches): if we are not going into
an interactive repl, set scm_mask_ints to zero so that asyncs can
run.

* simpos.c (scm_system):  don't ignore/unignore signals around
the "system" call.

* posix.c (scm_open_pipe): don't ignore/unignore signals around
the "popen" call.

* init.c (scm_boot_guile_1): don't call scm_init_signals, it's
done in boot-9.scm instead.

* scmsigs.c, async.c: Major rewriting of signal handling code.
(scm_sigaction): new procedure.
(scm_sleep): don't wrap sleep in SCM_SYSCALL, it would mess up the
timing.
(scm_raise): return unspecified, throw error on failure.

* boot-9.scm: signal-handler, alarm-thunk: removed.
don't define ticks-interrupt etc.
top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
during call to scm-style-repl.

* acconfig.h: mention HAVE_RESTARTS.
* configure.in: check for sigaction and restartable system calls.
1997-05-31 19:02:38 +00:00
Jim Blandy
3a629497d2 Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in: Merged the old text from qt/configure.in and
libguile/configure.in; Tom Tromey says automake only wants one
configure.in script.  This seems fishy, but...
* Makefile.am: List the subdirectories explicitly; no more PLUGIN
gubbish.
* acconfig.h, acinclude.m4: Moved here from libguile, since
libguile's configure script lives here now.
* AUTHORS, INSTALL, README: Updated.
* Makefile.in, aclocal.m4 configure: Regenerated.  Just like
amputated amphibian limbs.
1997-04-24 06:32:52 +00:00