mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-04 05:50:26 +02:00
wan't defined. Don't include fd.h. * Previously fd.h was regenerated whenever configure was run, forcing a couple of files to be recompiled. * fd.h.in: deleted, SET_FILE_FD_FIELD moved to ioext.c. * configure.in: AC_DEFINE FD_SETTER instead of HAVE_FD_SETTER. Check for _fileno as well as _file. Don't output fd.h. * ioext.c: don't fd.h. * acconfig.h: remove duplicate HAVE_FD_SETTER and change the other to FD_SETTER. * Change the stratigy for getting information about errno (and now signal number) values, e.g., ENOSYS, SIGKILL. Instead of generating lists of symbols during the build process, which will not always work, include comprehensive lists in the distribution. To help keep the lists up to date, the "check_signals" and "check_errnos" make targets can be used. * configure.in: don't check for a command to extract errno codes. * Makefile.am: update file lists, remove errnos.list and errnos.c targets, add cpp_err_symbols.c, cpp_sig_symbols.c, check_signals, check_errnos targets. (CLEANFILES): remove errnos.c and errnos.list, add cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new * errnos.default: deleted. * cpp_signal.c: new file. * cpp_errno.c: renamed from errnos_get.c. * cpp_err_symbols, cpp_sig_symbols: new files. * cpp_cnvt.awk: renamed from errnos_cnvt_awk. * error.c (scm_init_error): #include cpp_err_symbols instead of errnos.c. * posix.c (scm_init_posix): don't intern signal symbols. #include cpp_sig_symbols.c. * strop.c (scm_i_index): allow the lower bound to be equal to the length of the string, so a null string doesn't always give an error. * posix.h: new prototypes. * posix.c (scm_status_exit_val, scm_status_term_sig, scm_status_stop_sig): new functions, as in scsh. They break down process status values as returned by waitpid.
74 lines
2.4 KiB
C
74 lines
2.4 KiB
C
/* acconfig.h --- documentation for symbols possibly defined in scmconfig.h
|
|
Jim Blandy <jimb@cyclic.com> --- August 1996 */
|
|
|
|
/* Define these two if you want support for debugging of Scheme
|
|
programs. */
|
|
#undef DEBUG_EXTENSIONS
|
|
#undef READER_EXTENSIONS
|
|
|
|
/* Define this if your system has a way to set a stdio stream's file
|
|
descriptor. */
|
|
#undef FD_SETTER
|
|
|
|
/* Set this to the name of a field in FILE which contains the number
|
|
of buffered characters waiting to be read. */
|
|
#undef FILE_CNT_FIELD
|
|
|
|
/* Define this if your stdio has _gptr and _egptr fields which can
|
|
be compared to give the number of buffered characters waiting to
|
|
be read. */
|
|
#undef FILE_CNT_GPTR
|
|
|
|
/* Define this if your stdio has _IO_read_ptr and _IO_read_end fields
|
|
which can be compared to give the number of buffered characters
|
|
waiting to be read. */
|
|
#undef FILE_CNT_READPTR
|
|
|
|
/* Define this if your system defines struct linger, for use with the
|
|
getsockopt and setsockopt system calls. */
|
|
#undef HAVE_STRUCT_LINGER
|
|
|
|
/* Define this if floats are the same size as longs. */
|
|
#undef SCM_SINGLES
|
|
|
|
/* Define this if a callee's stack frame has a higher address than the
|
|
caller's stack frame. On most machines, this is not the case. */
|
|
#undef SCM_STACK_GROWS_UP
|
|
|
|
/* Define this if <utime.h> doesn't define struct utimbuf unless
|
|
_POSIX_SOURCE is #defined. See GUILE_STRUCT_UTIMBUF in aclocal.m4. */
|
|
#undef UTIMBUF_NEEDS_POSIX
|
|
|
|
/* Define this if we should #include <libc.h> when we've already
|
|
#included <unistd.h>. On some systems, they conflict, and libc.h
|
|
should be omitted. See GUILE_HEADER_LIBC_WITH_UNISTD in
|
|
aclocal.m4. */
|
|
#undef LIBC_H_WITH_UNISTD_H
|
|
|
|
/* Define these to indicate the current version of Guile. These
|
|
values are supposed to be supplied by the configuration system. */
|
|
#undef GUILE_MAJOR_VERSION
|
|
#undef GUILE_MINOR_VERSION
|
|
#undef GUILE_VERSION
|
|
|
|
/* Define this to include various undocumented functions used to debug
|
|
the Guile library itself. */
|
|
#undef GUILE_DEBUG
|
|
|
|
/* Define if using cooperative multithreading. */
|
|
#undef USE_COOP_THREADS
|
|
|
|
/* Define if using "FSU" pthreads. */
|
|
#undef USE_FSU_PTHREADS
|
|
|
|
/* Define if using MIT pthreads. */
|
|
#undef USE_MIT_PTHREADS
|
|
|
|
/* Define if using PCthreads pthreads. */
|
|
#undef USE_PCTHREADS_PTHREADS
|
|
|
|
/* Define if using any sort of threads. */
|
|
#undef USE_THREADS
|
|
|
|
/* Define if you want support for dynamic linking. */
|
|
#undef DYNAMIC_LINKING
|