Imported from ../bash-2.02.tar.gz.
This commit is contained in:
parent
e8ce775db8
commit
cce855bc5b
323 changed files with 33916 additions and 12321 deletions
39
cross-build/cygwin32.cache
Normal file
39
cross-build/cygwin32.cache
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# This file is a shell script that caches the results of configure
|
||||
# tests for CYGWIN32 so they don't need to be done when cross-compiling.
|
||||
|
||||
# AC_FUNC_GETPGRP should also define GETPGRP_VOID
|
||||
ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void='yes'}
|
||||
# AC_FUNC_SETVBUF_REVERSED should not define anything else
|
||||
ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed='no'}
|
||||
# on CYGWIN32, system calls do not restart
|
||||
ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls='no'}
|
||||
bash_cv_sys_restartable_syscalls=${bash_cv_sys_restartable_syscalls='no'}
|
||||
|
||||
# these may be necessary, but they are currently commented out
|
||||
#ac_cv_c_bigendian=${ac_cv_c_bigendian='no'}
|
||||
ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p='4'}
|
||||
ac_cv_sizeof_int=${ac_cv_sizeof_int='4'}
|
||||
ac_cv_sizeof_long=${ac_cv_sizeof_long='4'}
|
||||
|
||||
bash_cv_dup2_broken=${bash_cv_dup2_broken='no'}
|
||||
bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe='no'}
|
||||
bash_cv_type_rlimit=${bash_cv_type_rlimit='long'}
|
||||
bash_cv_decl_under_sys_siglist=${bash_cv_decl_under_sys_siglist='no'}
|
||||
bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist='no'}
|
||||
bash_cv_sys_siglist=${bash_cv_sys_siglist='no'}
|
||||
bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust='no'}
|
||||
bash_cv_getenv_redef=${bash_cv_getenv_redef='yes'}
|
||||
bash_cv_printf_declared=${bash_cv_printf_declared='yes'}
|
||||
bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds='no'}
|
||||
bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen='no'}
|
||||
bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers='no'}
|
||||
bash_cv_job_control_missing=${bash_cv_job_control_missing='present'}
|
||||
bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes='missing'}
|
||||
bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp='missing'}
|
||||
bash_cv_mail_dir=${bash_cv_mail_dir='unknown'}
|
||||
bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken='no'}
|
||||
|
||||
bash_cv_type_int32_t=${bash_cv_type_int32_t='int'}
|
||||
bash_cv_type_u_int32_t=${bash_cv_type_u_int32_t='int'}
|
||||
|
||||
# end of cross-build/cygwin32.cache
|
||||
254
cross-build/win32sig.h
Normal file
254
cross-build/win32sig.h
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
/* This file is used when cross-compiling for the CYGWIN32 environment on
|
||||
a Unix machine. */
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifndef __GNUC__
|
||||
# error cross compiling requires gcc
|
||||
#endif
|
||||
|
||||
/* A translation list so we can be polite to our users. Use gcc
|
||||
labelled initializers to set up the array. Note that some entries
|
||||
might wind up being NULL. */
|
||||
|
||||
char *signal_names[NSIG + 2] = {
|
||||
[0] "EXIT",
|
||||
|
||||
#ifdef SIGLOST
|
||||
[SIGLOST] "SIGLOST",
|
||||
#endif
|
||||
|
||||
#ifdef SIGMSG
|
||||
[SIGMSG] "SIGMSG",
|
||||
#endif
|
||||
|
||||
#ifdef SIGDANGER
|
||||
[SIGDANGER] "SIGDANGER",
|
||||
#endif
|
||||
|
||||
#ifdef SIGMIGRATE
|
||||
[SIGMIGRATE] "SIGMIGRATE",
|
||||
#endif
|
||||
|
||||
#ifdef SIGPRE
|
||||
[SIGPRE] "SIGPRE",
|
||||
#endif
|
||||
|
||||
#ifdef SIGVIRT
|
||||
[SIGVIRT] "SIGVIRT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGALRM1
|
||||
[SIGALRM1] "SIGALRM1",
|
||||
#endif
|
||||
|
||||
#ifdef SIGWAITING
|
||||
[SIGWAITING] "SIGWAITING",
|
||||
#endif
|
||||
|
||||
#ifdef SIGGRANT
|
||||
[SIGGRANT] "SIGGRANT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGKAP
|
||||
[SIGKAP] "SIGKAP",
|
||||
#endif
|
||||
|
||||
#ifdef SIGRETRACT
|
||||
[SIGRETRACT] "SIGRETRACT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGSOUND
|
||||
[SIGSOUND] "SIGSOUND",
|
||||
#endif
|
||||
|
||||
#ifdef SIGSAK
|
||||
[SIGSAK] "SIGSAK",
|
||||
#endif
|
||||
|
||||
#ifdef SIGLWP
|
||||
[SIGLWP] "SIGLWP",
|
||||
#endif
|
||||
|
||||
#ifdef SIGFREEZE
|
||||
[SIGFREEZE] "SIGFREEZE",
|
||||
#endif
|
||||
|
||||
#ifdef SIGTHAW
|
||||
[SIGTHAW] "SIGTHAW",
|
||||
#endif
|
||||
|
||||
#ifdef SIGCANCEL
|
||||
[SIGCANCEL] "SIGCANCEL",
|
||||
#endif
|
||||
|
||||
#ifdef SIGDIL
|
||||
[SIGDIL] "SIGDIL",
|
||||
#endif
|
||||
|
||||
#ifdef SIGCLD
|
||||
#ifndef SIGCHLD
|
||||
[SIGCLD] "SIGCLD",
|
||||
#else
|
||||
#if SIGCHLD != SIGCLD
|
||||
[SIGCLD] "SIGCLD",
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SIGPWR
|
||||
[SIGPWR] "SIGPWR",
|
||||
#endif
|
||||
|
||||
#ifdef SIGPOLL
|
||||
#ifndef SIGIO
|
||||
[SIGPOLL] "SIGPOLL",
|
||||
#else
|
||||
#if SIGIO != SIGPOLL
|
||||
[SIGPOLL] "SIGPOLL",
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SIGWINDOW
|
||||
[SIGWINDOW] "SIGWINDOW",
|
||||
#endif
|
||||
|
||||
#ifdef SIGHUP
|
||||
[SIGHUP] "SIGHUP",
|
||||
#endif
|
||||
|
||||
#ifdef SIGINT
|
||||
[SIGINT] "SIGINT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGQUIT
|
||||
[SIGQUIT] "SIGQUIT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGILL
|
||||
[SIGILL] "SIGILL",
|
||||
#endif
|
||||
|
||||
#ifdef SIGTRAP
|
||||
[SIGTRAP] "SIGTRAP",
|
||||
#endif
|
||||
|
||||
#ifdef SIGIOT
|
||||
#ifndef SIGABRT
|
||||
[SIGIOT] "SIGIOT",
|
||||
#else
|
||||
#if SIGABRT != SIGIOT
|
||||
[SIGIOT] "SIGIOT",
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SIGABRT
|
||||
[SIGABRT] "SIGABRT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGEMT
|
||||
[SIGEMT] "SIGEMT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGFPE
|
||||
[SIGFPE] "SIGFPE",
|
||||
#endif
|
||||
|
||||
#ifdef SIGKILL
|
||||
[SIGKILL] "SIGKILL",
|
||||
#endif
|
||||
|
||||
#ifdef SIGBUS
|
||||
[SIGBUS] "SIGBUS",
|
||||
#endif
|
||||
|
||||
#ifdef SIGSEGV
|
||||
[SIGSEGV] "SIGSEGV",
|
||||
#endif
|
||||
|
||||
#ifdef SIGSYS
|
||||
[SIGSYS] "SIGSYS",
|
||||
#endif
|
||||
|
||||
#ifdef SIGPIPE
|
||||
[SIGPIPE] "SIGPIPE",
|
||||
#endif
|
||||
|
||||
#ifdef SIGALRM
|
||||
[SIGALRM] "SIGALRM",
|
||||
#endif
|
||||
|
||||
#ifdef SIGTERM
|
||||
[SIGTERM] "SIGTERM",
|
||||
#endif
|
||||
|
||||
#ifdef SIGURG
|
||||
[SIGURG] "SIGURG",
|
||||
#endif
|
||||
|
||||
#ifdef SIGSTOP
|
||||
[SIGSTOP] "SIGSTOP",
|
||||
#endif
|
||||
|
||||
#ifdef SIGTSTP
|
||||
[SIGTSTP] "SIGTSTP",
|
||||
#endif
|
||||
|
||||
#ifdef SIGCONT
|
||||
[SIGCONT] "SIGCONT",
|
||||
#endif
|
||||
|
||||
#ifdef SIGCHLD
|
||||
[SIGCHLD] "SIGCHLD",
|
||||
#endif
|
||||
|
||||
#ifdef SIGTTIN
|
||||
[SIGTTIN] "SIGTTIN",
|
||||
#endif
|
||||
|
||||
#ifdef SIGTTOU
|
||||
[SIGTTOU] "SIGTTOU",
|
||||
#endif
|
||||
|
||||
#ifdef SIGIO
|
||||
[SIGIO] "SIGIO",
|
||||
#endif
|
||||
|
||||
#ifdef SIGXCPU
|
||||
[SIGXCPU] "SIGXCPU",
|
||||
#endif
|
||||
|
||||
#ifdef SIGXFSZ
|
||||
[SIGXFSZ] "SIGXFSZ",
|
||||
#endif
|
||||
|
||||
#ifdef SIGVTALRM
|
||||
[SIGVTALRM] "SIGVTALRM",
|
||||
#endif
|
||||
|
||||
#ifdef SIGPROF
|
||||
[SIGPROF] "SIGPROF",
|
||||
#endif
|
||||
|
||||
#ifdef SIGWINCH
|
||||
[SIGWINCH] "SIGWINCH",
|
||||
#endif
|
||||
|
||||
#ifdef SIGINFO
|
||||
[SIGINFO] "SIGINFO",
|
||||
#endif
|
||||
|
||||
#ifdef SIGUSR1
|
||||
[SIGUSR1] "SIGUSR1",
|
||||
#endif
|
||||
|
||||
#ifdef SIGUSR2
|
||||
[SIGUSR2] "SIGUSR2",
|
||||
#endif
|
||||
|
||||
[NSIG] "DEBUG",
|
||||
|
||||
[NSIG + 1] (char *)0x0
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue