1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00
Commit graph

79 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
9dca3959bd * dynl.c: Only check that HAVE_DLOPEN is defined before loading
dynl-dl.c; Test on HAVE_LIBDLD instead of HAVE_DLD.

* configure.in: Define HAVE_DLOPEN also when HAVE_LIBDL is
defined.
1998-04-19 01:17:26 +00:00
Mikael Djurfeldt
26c41b9956 * dynl.c: Only check that HAVE_DLOPEN is defined before loading
dynl-dl.c; Test on HAVE_LIBDLD instead of HAVE_DLD.

* configure.in: Define HAVE_DLOPEN also when HAVE_LIBDL is
defined.
1998-04-19 00:36:12 +00:00
Mikael Djurfeldt
daa4f38c59 * Makefile.am (BUILT_SOURCES): Added cpp_err_symbols.c,
cpp_sig_symbols.c, libpath.h and versiondat.h to BUILT_SOURCES
(libpath.h, versiondat.h): Replaced dependency on Makefile with
dependencies on $(srcdir)/Makefile.in
$(top_builddir)/config.status in order to avoid circularity.

* configure.in (GUILE_LIBS): New variable.  Contains libraries
which libguile needs to be linked with.  Substituted into
libpath.h.

* threads.m4 (threads_package): Don't add $LDFLAGS and $LIBS to
$cy_cv_threads_libs.
1998-04-18 21:57:32 +00:00
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