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

194 commits

Author SHA1 Message Date
Gary Houston
7ee92fcefd * configure.in: check availability of siginterrupt.
* scmsigs.c (scm_sigaction): add SA_RESTART to flags only if
	HAVE_RESTARTABLE_SYSCALLS.
	(scm_init_scmsigs): use siginterrupt if it's available.  not
	everyone who has restartable syscalls has SA_RESTART it seems.
	(scm_sigaction): use scm_num2long/scm_long2num when converting
	SIG_DFL/SIG_IGN, in case it doesn't fit in an INUM.  use
	scm_integer_p to test the type.
1999-09-20 21:32:23 +00:00
Gary Houston
08b8c6948d 1999-09-18 Gary Houston <ghouston@freewire.co.uk>
* configure.in: use AC_SYS_RESTARTABLE_SYSCALLS instead of
	testing for SA_RESTART.

1999-09-18  Gary Houston  <ghouston@freewire.co.uk>

	* _scm.h, scmsigs.c: replace HAVE_RESTARTS with
	HAVE_RESTARTABLE_SYSCALLS.
1999-09-18 17:13:38 +00:00
Mikael Djurfeldt
981ad72780 * configure.in: Removed ice-9/version.scm from AC_OUTPUT. 1999-09-12 15:25:05 +00:00
Jim Blandy
4ab0dc3f0e * configure.in (GUILE_STAMP): Don't set this variable, or
substitute it into anything.  Full explanation in ice-9/ChangeLog.
* configure, Makefile.in: Regenerated.
1999-09-11 15:02:47 +00:00
Mikael Djurfeldt
6babbc74d7 * configure.in: Test for presence of function on_exit. 1999-09-02 14:51:32 +00:00
Jim Blandy
dbbbec4088 * configure.in: Use AC_REPLACE_FUNCS to grab libguile/memmove.c if
the system doesn't have memmove.  Don't test for memmove and bcopy
with AC_CHECK_FUNCS.
* configure: Regenerated.
1999-09-01 02:48:14 +00:00
Mikael Djurfeldt
d2362355d5 * configure.in: Test for atexit. 1999-08-30 02:13:22 +00:00
Mikael Djurfeldt
fd02f2ad5e * configure.in: Test for presence of S_ISLNK in sys/stat.h.
(Thanks to Bernard Urban.)
Test for memmove and bcopy.  (Thanks to
suzukis@file.phys.tohoku.ac.jp.)
1999-08-29 18:00:48 +00:00
Mikael Djurfeldt
4725c2983f Removed configuration option --enable-lang which was recently added. 1999-07-28 20:39:34 +00:00
Mikael Djurfeldt
7a11a87c81 * configure.in: Added option --enable-lang. 1999-07-27 19:07:42 +00:00
Marius Vollmer
0e8a8468a3 Added guile-readline subdirectory with the removed readline
support.
* guile-readline: New directory, see ChangeLog there.
* configure.in: Cause configure to descend into guile-readline
dir.
* Makefile.am: Likewise for make.
* NEWS: Explain how to activate the readline support.
* configure, Makefile.in, aclocal.m4: Regenerated.
1999-07-23 22:04:27 +00:00
Jim Blandy
2adc1dd3af * configure.in: Check for <io.h>.
* configure: Regenerated.
1999-07-19 07:49:01 +00:00
Gary Houston
6c9514275b 1999-07-04 Gary Houston <ghouston@easynet.co.uk>
* strports.c (scm_strprint_obj): bug fix: get pt from the port,
	not from the parameter obj.  (Thanks to Eric Moore.)
	* ports.h: SCM_CRDY, SCM_CUC, SCM_CRDYP, SCM_SETRDY, SCM_CUNGET,
	SCM_CGETUN, SCM_CLRDY, SCM_TRY_CLRDY, SCM_N_READY_CHARS: deleted.
	* strings.c (scm_make_string): throw error if 2nd arg isn't
	a char.
	* unif.c (scm_uniform_array_read_x): fix reading from a port.
	allow non-fports.
	(scm_uniform_array_write): likewise.
1999-06-29  Gary Houston  <ghouston@easynet.co.uk>
	* ports.c (scm_drain_input): rewritten.
	* fports.c (local_fclose): check putback_buf.
	(local_read_flush): likewise.
	* ports.c (scm_remove_from_port_table): maybe free putback_buf.
	* ports.h (scm_port): replace cbuf/cbufend/cp with putback_buf/
	putback_buf_size.
	(SCM_INITIAL_PUTBACK_BUF_SIZE): renamed from SCM_INITIAL_CBUF_SIZE.
	* ports.c (scm_grow_port_cbuf): deleted.
	(scm_add_to_port_table): initialise putback_buf to 0.  remove cbuf
	stuff.
	(scm_char_ready_p): check putback_buf
	(scm_fill_buffer): likewise.
	(scm_ungetc): rewritten.
1999-06-27  Gary Houston  <ghouston@easynet.co.uk>
	* fports.c (local_fclose): account for push-back buffer.
	* ports.c (scm_char_ready_p): check the push-back buffer in
	a new way.
	* ioext.c (scm_do_read_line): remove the extra code to handle
	the push-back buffer.
	* ports.c (scm_getc): don't use SCM_CRDYP etc.
	* ioext.c (scm_do_read_line): call scm_fill_buffer.
	* ports.c (scm_ungetc): don't call SCM_CUNGET.  reset the
	read buffer pointers.
	scm_fill_buffer: new procedure.
	(scm_getc): call scm_fill_buffer.
	* ports.h (struct scm_port): saved_read_buf, saved_read_pos,
	saved_read_end: new fields.
1999-07-04  Gary Houston  <ghouston@easynet.co.uk>
	* configure.in: don't check for ways to violate stdio abstraction.
1999-07-04 11:02:21 +00:00
Jim Blandy
219a5a5bb0 * configure.in (AC_CHECK_FUNCS): Fill in list of functions that
libguile/net_db.h wants to use.  (Add setprotoent, setservent.)
1999-05-02 17:16:26 +00:00
Jim Blandy
1d3358634f Remove all automatic readline support, to avoid copyright
confusion.
* INSTALL: Update text.
* NEWS: Explain the situation.
* configure.in: Remove configury for readline and its supporting
libraries.
* configure: Regenerated.
1999-04-17 16:01:45 +00:00
Jim Blandy
29860306e9 * configure.in: Add --with-readline flag.
* configure: Rebuilt.
1999-02-12 08:19:54 +00:00
Mikael Djurfeldt
b7965ba977 * configure.in: Removed test AC_C_BIGENDIAN. (This test was
considered to encourage bad coding style.)
1999-01-26 02:26:51 +00:00
Mikael Djurfeldt
7da547e5bd * configure.in: Added test AC_C_BIGENDIAN. 1999-01-21 02:11:40 +00:00
Jim Blandy
21cb5cfc36 * configure.in: Remove quotes around ac_cv_lib_readline_main and
ac_cv_var_rl_getc_function.  They should both always be set to
non-null values; this way, we get error messages.
* configure: Regenerated.
1999-01-11 06:46:53 +00:00
Jim Blandy
f734697428 * configure.in: Cite the variable ac_cv_lib_readline_main, not
ac_cv_lib_readline_readline; the latter isn't set any more, since
we look for 'main' in libreadline now.  Add quotes around
reference to the variable references, too, so this will work even
when a variable's value is the empty string.
* configure: Regenerated.
1999-01-10 14:39:01 +00:00
Mikael Djurfeldt
9dec9737a4 * configure.in: Added AC_CHECK_SIZEOF(long), AC:CHECK_SIZEOF(int);
Added check for long longs.
1999-01-10 07:41:25 +00:00
Jim Blandy
5ee74cec86 * configure.in: Check for tgoto in ncurses, then termcap.
S.u.S.E. Linux doesn't have a termcap.  (Thanks to Karl
Eichwalder.)
* configure: Regenerated.
1998-12-14 10:04:48 +00:00
Jim Blandy
e40ffcb6bd * configure.in: Call AM_PROG_CC_STDC, to see what flags we should
pass the compiler to make it support ANSI.  (Thanks to Bernard
Urban.)
* aclocal.m4, configure: Regenerated.
1998-10-24 20:53:50 +00:00
Jim Blandy
508487473d Add copyright notice. 1998-10-19 15:28:46 +00:00
Jim Blandy
3a17131185 * configure.in: Define SCM_SINGLES whenever a float can fit in a
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.
1998-10-14 21:25:17 +00:00
Jim Blandy
0e6d926db8 * configure.in: Construct libguile/versiondat.h here; see
log entry in libguile/ChangeLog for details.
* configure: Regenerated.
1998-10-14 19:21:29 +00:00
Jim Blandy
c43f86c124 * configure.in: Allow tabs and whitespace between `void' and
`usleep'.  (Thanks to Harvey J. Stein.)
* configure: Regenerated.
1998-10-14 08:22:00 +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
fc342a63d9 * configure.in (GUILE_FUNC_DECLARED): Name the cache variables
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.
1998-10-12 21:08:17 +00:00
Jim Blandy
5e9345c384 * configure.in: Call AC_C_INLINE, so we can use inline happily in
libguile.
* configure: Regenerated.
1998-10-09 12:12:26 +00:00
Jim Blandy
402c4d4a74 * 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.
1998-10-07 09:57:16 +00:00
Jim Blandy
bd69c3abe5 * configure.in: Properly test for the presence of rl_getc_function;
it's a variable, not a function.
* configure: Regenerated.
1998-10-07 09:02:39 +00:00
Jim Blandy
c9ea20bcae * doc: New subdirectory.
* Makefile.am (SUBDIRS): List it.
* configure.in (AC_OUTPUT): Build its Makefile.
* configure, Makefile.in: Regenerated.
1998-10-07 07:36:55 +00:00
Jim Blandy
fe75dfc504 * configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
stdio implementation.  (Thanks to David Tillman.)
* configure: Rebuilt.
1998-10-03 19:30:21 +00:00
Jim Blandy
bcc695e361 * guile-config: Renamed from `build'.
* Makefile.am (SUBDIRS): Mention `guile-config', not `build'.
* configure.in: Create `guile-config/Makefile.in', not
`build/Makefile.in'.  Doc fix, too.
* qthreads.m4: Doc fix.
* Makefile.in, aclocal.m4, configure: Regeneranegerederadea.
1998-10-03 19:00:10 +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
c176b92b54 * configure.in: Remove --disable-debug option. The debugging
support is pretty stable now, and it's confusing people.
* configure: Regenerated.
1998-09-05 16:48:23 +00:00
Jim Blandy
0a1b8b1511 * configure.in: Don't use -Wstrict-prototypes after all.
* configure: Regenerated.
1998-07-30 14:26:51 +00:00
Jim Blandy
99be345018 * configure.in: Request more warnings.
* configure: Regenerated.
* HACKING: Ask people not to make changes that introduce those
warnings.  Now I have to go through the code and actually bring it
up to standards... :(
1998-07-29 18:34:59 +00:00
Jim Blandy
e0f54bcc36 * configure.in, qthreads.m4: Display a message about how the
threads configuration went.
* aclocal.m4, configure: Regenerated.
1998-07-29 17:20:17 +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
Jim Blandy
539c89a1ca Clean up thread configuration.
* qthreads.m4: New file, which knows how to configure the qthreads
library.
* configure.in: Replace all thread package selection code.  Do the
--with-threads argument processing here.  Enable the appropriate
thread interface files in libguile.  Remove all qthreads
configuration code; call QTHREADS_CONFIGURE instead.  Set
GUILE_LIBS using the info provided by QTHREADS_CONFIGURE.
* threads.m4: Removed; not used any more.
* Makefile.am (aclocal_DATA): Mention qthreads.m4, not threads.m4.
* Makefile.in, aclocal.m4, configure: Rgnrtd.  (Sv th vwls!)
Note that these were regenerated with the tools available from
Cygnus's source tree, which have patches not available to the
general public.  I'm not sure this was a good idea; feel free to
revert them to the latest released versions of the tools.
1998-07-27 01:00:40 +00:00
Mikael Djurfeldt
d9eb6fb749 * configure.in: Changed variable HOSTNAME --> PROG_HOSTNAME in
totoro kludge.
1998-07-12 13:21:07 +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
7e0fee6e39 * configure.in: Check for rl_cleanup_after_signal. 1998-05-19 20:42:39 +00:00
Mikael Djurfeldt
c700db4f8f * configure.in: Added test for rl_getc_function. Warn if
libreadline is found but not this function.
1998-05-12 00:48:15 +00:00
Mikael Djurfeldt
4c787b5283 * configure.in: Replaced some AC_CHECK_FUNC --> AC_CHECK_FUNCS so
that suitable HAVE_<function name> symbols get defined.
1998-05-06 14:45:11 +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
64e121dca3 * configure.in: Check for usleep; Define DECLARE_BZERO and
DECLARE_USLEEP on Solaris 2.5 since it supplies those functions
without declaring them.
1998-04-20 00:38:46 +00:00