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

268 commits

Author SHA1 Message Date
Mikael Djurfeldt
62002dcbec Adjustments to configure options 2000-06-12 15:04:39 +00:00
Mikael Djurfeldt
91411868b0 * configure.in (EXTRA_DOT_DOC_FILES): Create from LIBOBJS and
substitute it into libguile/Makefile.
2000-06-12 14:03:32 +00:00
Craig Brozefsky
3ff0d90a1f * GUILE-VERSION: added defnitions for LIBGUILE_MAJOR_VERSION,
LIBGUILE_MINOR_VERSION, LIBGUILE_REVISION_VERSION so that we now
define libguile.so version in a well-lit place.

* configure.in: added AC_SUBST lines for the new LIBGUILE version
variables.
2000-06-02 06:44:27 +00:00
Mikael Djurfeldt
cf890744c1 * configure.in: New --enable-debug-malloc configuration option. 2000-04-21 00:24:26 +00:00
Mikael Djurfeldt
e4d2166f80 * configure.in: Enable workaround for COOP-linuxthreads
compatibility on Linux systems.
2000-03-29 10:44:13 +00:00
Mikael Djurfeldt
ed65453e53 * configure.in: Enable workaround for COOP-linuxthreads
compatibility on Linux systems (currently disabled).
2000-03-29 01:54:12 +00:00
Mikael Djurfeldt
ed5ede2838 * configure.in: Don't add iselect.o to LIBOBJS. 2000-03-13 11:09:46 +00:00
Mikael Djurfeldt
d67c13f65e * configure.in: Added end-tag for local variables. (Thanks to
Thien-Thi Nguyen.)
2000-03-13 01:10:13 +00:00
Mikael Djurfeldt
7534dfdc2e * configure.in (ac_cv_struct_timespec): Added test for struct
timespec.
2000-03-12 01:48:27 +00:00
Gary Houston
d831b03918 * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN is
not defined (thanks to Richard Y. Kim).
2000-01-23 20:25:27 +00:00
Gary Houston
dc91415623 * configure.in: needs to have --disable-networking, not
--disable-net.
2000-01-14 23:14:33 +00:00
Greg J. Badros
951afd33db * autogen.sh: Added messages as we run autogen in subdirectories.
* configure.in: Output libugile/guile-func-name-check script, and
chmod +x it.
2000-01-11 21:50:10 +00:00
Marius Vollmer
b7f27d6492 * configure.in: Make "--with-modules=yes" the default. Do not
clear INCLTDL, LIBLTDL prior to processing "--with-modules".
* configure.in: replace --enable-dynamic-linking with
--with-modules, required modules can be specified using
--with-modules="/path/to/mod.la" and will be linked
statically on platforms that don't support dynamic loading,
configure libltdl, configure libtool for dlopening
2000-01-10 00:32:37 +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
Greg J. Badros
12b4f7e944 * configure.in: Make it be guile-snarf.awk, since we'll be
switching names for guile-doc-snarf.  (I wouldn't have changed
this, but I was getting ready to commit this way when the below
change was committed).
1999-12-14 17:42:16 +00:00
Mikael Djurfeldt
e000b4d741 * configure.in: Create guile-doc-snarf.awk. 1999-12-14 17:05:34 +00:00
Greg J. Badros
c3f6618858 * configure.in: Create guile-doc-snarf, chmod +x that script after
AC_OUTPUTted.
1999-12-12 23:40:12 +00:00
Gary Houston
aee8ca3fcb * configure.in (CFLAGS): don't add -Wpointer-arith, since it
causes numerous spurious warnings with recent gcc and/or glibc
	versions.
1999-12-09 19:48:41 +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
Gary Houston
5c11cc9deb * configure.in: check for hstrerror.
* socket.c (scm_htons, scm_ntohs, scm_htonl, scm_ntohl): new
	functions for network data conversion.

	* numbers.c (scm_num2long, scm_num2longlong):
	throw out-of-range instead of wrong-type-arg if appropriate.
	(scm_iint2str): handle -2^31 correctly.
	(scm_num2long): handle -2^31 bignum correctly.
	(scm_num2long_long): rewrite the bigdig case: basically copied
	from scm_num2long.
	numbers.h: (SCM_BITSPERLONGLONG): deleted.

	* unif.c (rapr1): use sprintf instead of intprint for unsigned
	longs: intprint can't cope with large values.

	* numbers.c (scm_num2ulong): check more consistently that the
	input is not negative.  if it is, throw out-of-range instead of
	wrong-type-arg.

	* ramap.c (scm_array_fill_int): don't limit fill to INUM for
	uvect, ivect or llvect.
	Check that fill doesn't overflow short uniform array.

	* __scm.h: add another long to the definition of long_long and
	ulong_long.

	* unif.c (scm_raprin1): use 'l' instead of "long_long" in the
	print representation of llvect.  read can't handle more than
	one character.
	(scm_dimensions_to_uniform_array): make "fill" an optional argument
	instead of a rest argument.

	* tags.h (scm_tc7_llvect): wasn't defined anywhere, so use the free
	tag 29 for now.

	* __scm.h: don't mention LONGLONGS.

	* unif.c, numbers.c, eq.c, gc.c, print.c, eval.c, ramap.c:
	replace LONGLONGS with HAVE_LONG_LONGS as set by configure.

	* net_db.c (scm_inet_aton): throw errors using the misc-error key
	instead of system-error.  inet_aton doesn't set errno.
	system-error isn't right in gethost either, since it's throwing
	the value of h_errno instead of errno. so:
	(scm_host_not_found_key, scm_try_again_key,
	scm_no_recovery_key, scm_no_data_key): new error keys.
	(scm_resolv_error): new procedure, use the new keys.
	(scm_gethost): call scm_resolv_error not scm_syserror_msg.

	* error.c: (various): use scm_cons instead of scm_listify
	to build short lists.

	* boot-9.scm (read-hash-extend to set up arrays): add 'l' for
	long_long uniform vectors.

	* networking.scm (sethostent, setnetent, setprotoent, setservent):
	take an optional argument STAYOPEN.  default is #f.

	* readline.c (scm_init_readline): set rl_readline_name to Guile,
	to allow conditionals in  .inputrc.
1999-11-18 22:36:28 +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
Jim Blandy
9da7f71781 * configure.in: Call AM_PROG_CC_STDC before AM_PROG_LIBTOOL, so
libtool knows how to get ANSI C behavior from the compiler.
* configure: Regenerated.
1999-09-22 19:58:39 +00:00
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