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

268 commits

Author SHA1 Message Date
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
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