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

41 commits

Author SHA1 Message Date
Gary Houston
341eaef04b * README: using Automake 1.2d
* configure.in: AC_CHECK_FUNCS: add "system".
	* simpos.c (scm_system): always define: use sysmissing if not
	available.  Check for HAVE_SYSTEM instead of _Windows (does
	Windows lack system or does it have an unusable one?).
	Check for error conditions -1 and 127.  Use SCM_DEFER_INTS.
	Let the argument be optional: if not supplied, call system(NULL).
	* ports.c (scm_close_port): relax the type check from OPPORTP to
	PORTP; closing a closed port is allowed.
1997-12-07 07:02:17 +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
Jim Blandy
51e6b88353 Call the QuickThreads library libqthreads.a, not libqt.a. The old
name conflicts with the Qt user interface toolkit.
* threads.m4 (CY_AC_WITH_THREADS): Use new library name.
* configure.in: Same.
* aclocal.m4, configure: Regenerated.
1997-10-25 06:52:10 +00:00
Jim Blandy
81e9e32f8e * configure.in: Check for the readline library, and the termcap
library (on which readline relies).
* configure: Regenerated.
1997-10-23 04:59:30 +00:00
Marius Vollmer
a49953899d Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
* configure.in: Check whether dlopen can be found without -ldl.
1997-10-02 14:17:07 +00:00
Jim Blandy
9ba3d4034c * Makefile.am: Add new `build' subdirectory to SUBDIRS.
* configure.in: Add build/Makefile to AC_OUTPUT clause.
* Makefile.in, configure: Regenerated.

* Makefile.in, aclocal.m4: Regenerated with automake 1.2a.
1997-09-28 03:06:14 +00:00
Jim Blandy
894e484ec5 * configure.in: Use the QuickThreads assembler fragment with Irix
dynamic linking support for Irix 6 as well as Irix 5.  Thanks to
Jesse Glick.
* configure: Regenerated.
1997-08-27 22:42:50 +00:00
Mikael Djurfeldt
0b89e78ee7 * acinclude.m4 (GUILE_NAMED_CHECK_FUNC): New macro: Tagged test,
so that test for the same function can be performed multiple
times.

* configure.in (AC_CHECK_HEADERS): Test for rxposix.h,
rx/rxposix.h.  Add library rx only if regcomp can't be found
without it.
1997-08-24 18:16:25 +00:00
Mikael Djurfeldt
0eeaf019e4 Small fix: sh doesn't have unset on all machines. 1997-08-24 15:58:11 +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
Mikael Djurfeldt
757cfb94f4 * configure.in: Added thread support for the alpha architecture.
configure: Regenerated.
1997-07-23 18:36:44 +00:00
Gary Houston
f4e5b81064 * configure.in: use AC_CHECK_FUNCS for sethostent etc.,
so scmconfig.h is updated with the test results.  this may
	disable one of the cygwin hacks.
1997-07-18 07:08:54 +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
90fcac06b7 * configure.in: Check for librx after libm; fundamentals need to
come first.
* configure: Regenerated.
1997-07-01 01:00:37 +00:00
Tim Pierce
4a5fa91c06 alloca configure fixes 1997-06-28 21:32:46 +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
af8865f7d9 * configure.in: By default, include functions in Guile to allow
linking with dynamic libraries at run-time.  In other words,
--enable-dynamic-linking is now the default.
* configure: Rebuilt.
1997-06-12 02:57:41 +00:00
Jim Blandy
baf22c7e08 * configure.in: Remove space between AC_CHECK_LIB and opening
paren in check for Rx.
* configure: Regenerated.
1997-06-11 20:21:11 +00:00
Jim Blandy
555050bbb8 * configure.in: Remove all mention of xtra_PLUGIN_guile_libs.
It's never used.
* configure, Makefile.in: Regenerated.
1997-06-11 05:34:47 +00:00
Jim Blandy
5852c0516e * configure.in: Move checks for libraries (-lm, -lnsl, -lsocket,
-dl, -dld) before checks for functions.
* configure: Regenerated.
1997-06-11 04:38:28 +00:00
Jim Blandy
ede1d9bf57 fix typo 1997-06-03 21:44:35 +00:00
Jim Blandy
dbcda1024a * configure.in: Check for Rx, so we will use its routines (which I
pretty much trust) if it is installed.
* configure: Regenerated.
1997-06-03 21:35:44 +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
8e1bfcd02f * configure.in: Check for presence of regcomp.
* configure: Regenerated.
1997-05-27 23:15:31 +00:00
Jim Blandy
075edbde62 * configure.in: We don't need to add fileblocks.o to LIBOBJS if
struct stat doesn't have the st_blocks field.  We take care of
that case in the code.  Replace AC_STRUCT_ST_BLOCKS with its
definition, edited appropriately.
* configure: Regenerated.

* configure.in: Don't link against -lnsl or -lsocket unless we
actually need to.  This causes trouble on Irix.  (Thanks to Larry
Schwimmer.)
1997-05-26 18:06:57 +00:00
Jim Blandy
2a18e74810 * configure.in: When configuring qt, sunos needs the underscore
files; Solaris and Linux both need the normal files.
* configure: Reebilt.
1997-05-02 21:29:23 +00:00
Jim Blandy
77c7a4332c * configure.in: Get the paths for qt's md files right, so it can
build correctly when using a separate compilation directory.
* configure: Regenerated.
1997-05-01 20:37:45 +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
Jim Blandy
2f38f6196b * Makefile.am: Omit doc subtree.
* configure.in: Omit makefiles in doc subtree.
* Makefile.in, configure, doc/Makefile.in,
doc/guile-programmer/Makefile.in, doc/guile-user/Makefile.in,
newdoc/Makefile.in, newdoc/tutorial/Makefile.in: Rebuilt.
1997-04-05 21:51:21 +00:00
Mikael Djurfeldt
15ae1beecf * configure.in: Added AM_MAINTAINER_MODE
Makefile.in, aclocal.m4, configure: Regenerated
1997-02-24 23:35:55 +00:00
Mark Galassi
ad93808a69 added newdoc tree 1997-01-21 15:27:49 +00:00
Tom Tromey
733943b9d2 Changes to use automake-generated Makefile.ins everywhere 1996-12-03 05:34:34 +00:00
Mikael Djurfeldt
8484d069c0 * configure.in: Added some configuration magic from the Cygnus
distribution.
1996-10-01 02:58:50 +00:00
Jim Blandy
31104510f4 * configure.in: Check for -ldl, so the check for Tcl won't fail
spuriously.
1996-08-16 00:03:49 +00:00
Jim Blandy
f9ec2ec8f0 Change the way we decide whether to build gtcltk-lib, so that it's
omitted from the build process when appropriate, but never from
the dist process.
* configure.in: Don't edit all_subdirs depending on the
availability of Tk; let that be the list of all PLUGIN
subdirectories present, as it used to be.  Instead, edit a new
variable, build_subdirs; write its final value, the list of
subdirs we do want to compile in, to config.build-subdirs.
Substitute that into the top-level Makefile too.
* Makefile.in (subdirs): Set this to @build_subdirs@, so we only
recurse on the subdirectories we should build.
(distdirs): Set this to @existingdirs@, so it includes the subdirs
we decided not to build.

* configure.in: If we can find the library for tcl7.5, build
gtcltk-lib.  Call AC_PROG_CC, to help run that test with the right
compiler (not sure this is necessary).
1996-08-15 22:47:42 +00:00
Jim Blandy
86789f9b69 * configure.in: If we can find the library for tcl7.5, build
gtcltk-lib.  Call AC_PROG_CC, to help run that test with the right
compiler (not sure this is necessary).
1996-08-15 07:12:00 +00:00
Jim Blandy
2d26def019 Rehashed distribution system, in preparation for nightly
snapshots.  Other changes in subdirectories.
* Makefile.in (dist): Rewritten --- the old target was out of
date, dependent on files that we don't have, and relied on GNU
tar.  The new target is simpler.
(VERSION, srcdir, dist_dirs): New variables.
(DISTFILES): Renamed from localfiles.  Added GUILE-VERSION and
TODO.
(localtreats): Variable removed.  We don't have this file.
(info): cd to doc and make info there; don't make info in every
${subdir}; those Makefiles don't know what to do.
(distname, distdir, treats, announcefile): Variables removed.
(manifest-file): Target removed.
(dist-dir): New target, responsible for distributable files in
this directory.
(GZIP, GZIP_EXT, TAR_VERBOSE, DIST_NAME): New variables,
controlling the 'dist' target.
* configure.in: Substitute GUILE-VERSION into the top-level
Makefile.  Build doc/Makefile from doc/Makefile.in.
1996-08-01 08:16:15 +00:00
Jim Blandy
0f2d19dd46 maintainer changed: was lord, now jimb; first import 1996-07-25 22:56:11 +00:00