⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 一个开放源代码的 AT&T 的 Korn Shell 的复制品, 支持大多数 ksh89 的特性。
💻
📖 第 1 页 / 共 5 页
字号:
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else  echo "$ac_t""no" 1>&6fidonefiecho $ac_n "checking for off_t in sys/types.h""... $ac_c" 1>&6echo "configure:1842: checking for off_t in sys/types.h" >&5if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1847 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])off_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_off_t=yeselse  rm -rf conftest*  ac_cv_type_off_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_off_t" 1>&6  if test $ac_cv_type_off_t = no; then      cat >> confdefs.h <<\EOF#define off_t longEOF  fi   echo $ac_n "checking for mode_t in sys/types.h""... $ac_c" 1>&6echo "configure:1877: checking for mode_t in sys/types.h" >&5if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1882 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])mode_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_mode_t=yeselse  rm -rf conftest*  ac_cv_type_mode_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_mode_t" 1>&6  if test $ac_cv_type_mode_t = no; then      cat >> confdefs.h <<\EOF#define mode_t shortEOF  fi   echo $ac_n "checking for pid_t in sys/types.h""... $ac_c" 1>&6echo "configure:1912: checking for pid_t in sys/types.h" >&5if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1917 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])pid_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_pid_t=yeselse  rm -rf conftest*  ac_cv_type_pid_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_pid_t" 1>&6  if test $ac_cv_type_pid_t = no; then      cat >> confdefs.h <<\EOF#define pid_t intEOF  fi   echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6echo "configure:1947: checking for uid_t in sys/types.h" >&5if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1952 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])uid_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_uid_t=yeselse  rm -rf conftest*  ac_cv_type_uid_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_uid_t" 1>&6  if test $ac_cv_type_uid_t = no; then      cat >> confdefs.h <<\EOF#define uid_t intEOF  fi   if test $ac_cv_type_uid_t = no; then  cat >> confdefs.h <<\EOF#define gid_t intEOFfiecho $ac_n "checking return type of signal handlers""... $ac_c" 1>&6echo "configure:2057: checking return type of signal handlers" >&5if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2062 "configure"#include "confdefs.h"#include <sys/types.h>#include <signal.h>#ifdef signal#undef signal#endif#ifdef __cplusplusextern "C" void (*signal (int, void (*)(int)))(int);#elsevoid (*signal ()) ();#endifint main() {int i;; return 0; }EOFif { (eval echo configure:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_type_signal=voidelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_type_signal=intfirm -f conftest*fiecho "$ac_t""$ac_cv_type_signal" 1>&6cat >> confdefs.h <<EOF#define RETSIGTYPE $ac_cv_type_signalEOFcase $ac_cv_type_signal inint)  ksh_cv_signal_retval=0 ;;void) ksh_cv_signal_retval=  ;;*)    { echo "configure: error: Internal erorr: unknown signal return type: $ac_cv_type_signal" 1>&2; exit 1; }esaccat >> confdefs.h <<EOF#define RETSIGVAL $ksh_cv_signal_retvalEOFecho $ac_n "checking size of int""... $ac_c" 1>&6echo "configure:2108: checking size of int" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }elsecat > conftest.$ac_ext <<EOF#line 2116 "configure"#include "confdefs.h"#include <stdio.h>main(){  FILE *f=fopen("conftestval", "w");  if (!f) exit(1);  fprintf(f, "%d\n", sizeof(int));  exit(0);}EOFeval $ac_linkif test -s conftest$ac_exe_suffix && (./conftest; exit) 2>/dev/null; then  ac_cv_sizeof_int=`cat conftestval`else  ac_cv_sizeof_int=0fifirm -fr conftest*fiecho "$ac_t""$ac_cv_sizeof_int" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_INT $ac_cv_sizeof_intEOFecho $ac_n "checking size of long""... $ac_c" 1>&6echo "configure:2143: checking size of long" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }elsecat > conftest.$ac_ext <<EOF#line 2151 "configure"#include "confdefs.h"#include <stdio.h>main(){  FILE *f=fopen("conftestval", "w");  if (!f) exit(1);  fprintf(f, "%d\n", sizeof(long));  exit(0);}EOFeval $ac_linkif test -s conftest$ac_exe_suffix && (./conftest; exit) 2>/dev/null; then  ac_cv_sizeof_long=`cat conftestval`else  ac_cv_sizeof_long=0fifirm -fr conftest*fiecho "$ac_t""$ac_cv_sizeof_long" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_LONG $ac_cv_sizeof_longEOFecho $ac_n "checking for clock_t in any of <sys/types.h>, <sys/times.h> and <sys/time.h>""... $ac_c" 1>&6echo "configure:2178: checking for clock_t in any of <sys/types.h>, <sys/times.h> and <sys/time.h>" >&5if eval "test \"`echo '$''{'ac_cv_type_clock_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2183 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif#ifdef HAVE_SYS_TIME_H#include <sys/time.h>#endif /* HAVE_SYS_TIME_H */#include <sys/times.h>	      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])clock_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_clock_t=yeselse  rm -rf conftest*  ac_cv_type_clock_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_clock_t" 1>&6  if test $ac_cv_type_clock_t = no; then      cat >> confdefs.h <<\EOF#define clock_t INT32EOF  fi   echo $ac_n "checking for sigset_t in <sys/types.h> and <signal.h>""... $ac_c" 1>&6echo "configure:2218: checking for sigset_t in <sys/types.h> and <signal.h>" >&5if eval "test \"`echo '$''{'ac_cv_type_sigset_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2223 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif#include <signal.h>      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])sigset_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_sigset_t=yeselse  rm -rf conftest*  ac_cv_type_sigset_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_sigset_t" 1>&6  if test $ac_cv_type_sigset_t = no; then      cat >> confdefs.h <<\EOF#define sigset_t unsignedEOF  fi   echo $ac_n "checking for rlim_t in <sys/types.h> and <sys/resource.h>""... $ac_c" 1>&6echo "configure:2253: checking for rlim_t in <sys/types.h> and <sys/resource.h>" >&5if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2258 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#endif#ifdef HAVE_SYS_RESOURCE_H#include <sys/resource.h>#endif      EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z0-9_])rlim_t([^a-zA-Z0-9_]|\$)" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_rlim_t=yeselse  rm -rf conftest*  ac_cv_type_rlim_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_rlim_t" 1>&6     if test $ac_cv_type_rlim_t = no; then    echo $ac_n "checking what to set rlim_t to""... $ac_c" 1>&6echo "configure:2284: checking what to set rlim_t to" >&5    if test $ac_cv_header_sys_resource_h = yes; then      if eval "test \"`echo '$''{'ksh_cv_rlim_check'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  { echo "configure: error: cannot determine type for rlimt_t when cross compiling" 1>&2; exit 1; }	  elsecat > conftest.$ac_ext <<EOF#line 2294 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/time.h>#include <sys/resource.h>	    main()	    {	      struct rlimit rl;	      if (sizeof(rl.rlim_cur) == sizeof(quad_t))		exit(0);	      exit(1);	    }	  EOFeval $ac_linkif test -s conftest$ac_exe_suffix && (./conftest; exit) 2>/dev/null; then  ksh_cv_rlim_check=quad_telse  ksh_cv_rlim_check=longfifirm -fr conftest*fi    else      ksh_cv_rlim_check=long    fi    echo "$ac_t""$ksh_cv_rlim_check" 1>&6    cat >> confdefs.h <<EOF#define rlim_t $ksh_cv_rlim_checkEOF  fi echo $ac_n "checking for working memmove""... $ac_c" 1>&6echo "configure:2329: checking for working memmove" >&5if eval "test \"`echo '$''{'ksh_cv_func_memmove'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  echo "configure: warning: assuming memmove broken" 1>&2; ksh_cv_func_memmove=noelsecat > conftest.$ac_ext <<EOF#line 2337 "configure"#include "confdefs.h"#ifdef HAVE_STRING_H# include <string.h>#else# include <strings.h>#endif#ifdef HAVE_MEMORY_H# include <memory.h>#endif        int        main()        {	  char buf[16];	  strcpy(buf, "abcdefABCDEF");	  memmove(buf + 4, buf, 6);	  if (strcmp(buf, "abcdabcdefE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -