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

📄 configure

📁 c语言开发,ntp协议,利于新手的学习和上手
💻
📖 第 1 页 / 共 5 页
字号:
  struct s *b; b->j = 5;}{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */  const int foo = 10;}; return 0; }EOFif { (eval echo configure:1351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_const=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_c_const=nofirm -f conftest*fiecho "$ac_t""$ac_cv_c_const" 1>&6if test $ac_cv_c_const = no; then  cat >> confdefs.h <<\EOF#define const EOFfiecho $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6echo "configure:1372: 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 1377 "configure"#include "confdefs.h"#include <sys/types.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "uid_t" >/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>&6if test $ac_cv_type_uid_t = no; then  cat >> confdefs.h <<\EOF#define uid_t intEOF  cat >> confdefs.h <<\EOF#define gid_t intEOFfiecho $ac_n "checking for pid_t""... $ac_c" 1>&6echo "configure:1406: checking for pid_t" >&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 1411 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-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>&6if test $ac_cv_type_pid_t = no; then  cat >> confdefs.h <<\EOF#define pid_t intEOFfiecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6echo "configure:1439: checking whether time.h and sys/time.h may both be included" >&5if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1444 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/time.h>#include <time.h>int main() {struct tm *tp;; return 0; }EOFif { (eval echo configure:1453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_header_time=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_header_time=nofirm -f conftest*fiecho "$ac_t""$ac_cv_header_time" 1>&6if test $ac_cv_header_time = yes; then  cat >> confdefs.h <<\EOF#define TIME_WITH_SYS_TIME 1EOFfiecho $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6echo "configure:1474: checking whether struct tm is in sys/time.h or time.h" >&5if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1479 "configure"#include "confdefs.h"#include <sys/types.h>#include <time.h>int main() {struct tm *tp; tp->tm_sec;; return 0; }EOFif { (eval echo configure:1487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_struct_tm=time.helse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_struct_tm=sys/time.hfirm -f conftest*fiecho "$ac_t""$ac_cv_struct_tm" 1>&6if test $ac_cv_struct_tm = sys/time.h; then  cat >> confdefs.h <<\EOF#define TM_IN_SYS_TIME 1EOFfi# Extract the first word of "bc", so it can be a program name with args.set dummy bc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1511: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_BC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$BC" in  /*)  ac_cv_path_BC="$BC" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_BC="$BC" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_BC="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiBC="$ac_cv_path_BC"if test -n "$BC"; then  echo "$ac_t""$BC" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "tr", so it can be a program name with args.set dummy tr; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1546: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_TR'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$TR" in  /*)  ac_cv_path_TR="$TR" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_TR="$TR" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_TR="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiTR="$ac_cv_path_TR"if test -n "$TR"; then  echo "$ac_t""$TR" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_path_TR" -o -z "$ac_cv_path_BC"; then  echo "configure: warning: Unable to find either tr or bc -- assuming 32 bits per unsigned long" 1>&2else  echo $ac_n "checking number of places to shift for unsigned long""... $ac_c" 1>&6echo "configure:1583: checking number of places to shift for unsigned long" >&5  cat >conftest.$ac_ext <<_ACEOF#include "confdefs.h"#include <limits.h>a = ULONG_MAX;for (i=0;a;i++)  a=a/2for(j=0;i;j++)   i=i/2print j-1_ACEOF    needs_escape_shift=`eval "$ac_cpp conftest.$ac_ext" | $ac_cv_path_TR -d 'UL' | $ac_cv_path_BC`  rm -f conftest*    if test -n "$needs_escape_shift"; then    cat >> confdefs.h <<EOF#define NEEDS_ESCAPE_SHIFT $needs_escape_shiftEOF    echo "$ac_t""$needs_escape_shift" 1>&6  fifiecho $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6echo "configure:1610: checking for 8-bit clean memcmp" >&5if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  ac_cv_func_memcmp_clean=noelse  cat > conftest.$ac_ext <<EOF#line 1618 "configure"#include "confdefs.h"main(){  char c0 = 0x40, c1 = 0x80, c2 = 0x81;  exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);}EOFif { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  ac_cv_func_memcmp_clean=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_func_memcmp_clean=nofirm -fr conftest*fifiecho "$ac_t""$ac_cv_func_memcmp_clean" 1>&6test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"for ac_hdr in unistd.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1649: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1654 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6    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>&6fidonefor ac_func in getpagesizedoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1688: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1693 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char $ac_func(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char $ac_func();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#else$ac_func();#endif; return 0; }EOFif { (eval echo configure:1716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_$ac_func=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_$ac_func=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  echo "$ac_t""yes" 1>&6    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  cat >> confdefs.h <<EOF#define $ac_tr_func 1EOF else  echo "$ac_t""no" 1>&6fidoneecho $ac_n "checking for working mmap""... $ac_c" 1>&6echo "configure:1741: checking for working mmap" >&5if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  ac_cv_func_mmap_fixed_mapped=noelse  cat > conftest.$ac_ext <<EOF#line 1749 "configure"#include "confdefs.h"/* Thanks to Mike Haertel and Jim Avera for this test.   Here is a matrix of mmap possibilities:	mmap private not fixed	mmap private fixed at somewhere currently unmapped	mmap private fixed at somewhere already mapped	mmap shared not fixed	mmap shared fixed at somewhere currently unmapped	mmap shared fixed at somewhere already mapped   For private mappings, we should verify that changes cannot be read()   back from the file, nor mmap's back from the file at a different   address.  (There have been systems where private was not correctly   implemented like the infamous i386 svr4.0, and systems where the   VM page cache was not coherent with the filesystem buffer cache   like early versions of FreeBSD and possibly contemporary NetBSD.)   For shared mappings, we should conversely verify that changes get   propogated back to all the places they're supposed to be.   Grep wants private fixed already mapped.   The main things grep needs to know about mmap are:   * does it exist and is it safe to write into the mmap'd area   * how to use it (BSD variants)  */#include <sys/types.h>#include <fcntl.h>#include <sys/mman.h>/* This mess was copied from the GNU getpagesize.h.  */#ifndef HAVE_GETPAGESIZE# ifdef HAVE_UNISTD_H#  include <unistd.h># endif/* Assume that all systems that can run configure have sys/param.h.  */# ifndef HAVE_SYS_PARAM_H#  define HAVE_SYS_PARAM_H 1# endif# ifdef _SC_PAGESIZE#  define getpagesize() sysconf(_SC_PAGESIZE)

⌨️ 快捷键说明

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